Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { int x = 5; public static void main(String[] args) { Main myObj1 = new Main(); Main myObj2 = new Main(); System.out.println(myObj1.x); System.out.println(myObj2.x); } }
5
5