Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main extends Thread { public static int amount = 0; public static void main(String[] args) { Main thread = new Main(); thread.start(); System.out.println(amount); amount++; System.out.println(amount); } public void run() { amount++; } }
0
2