public class ExampleObj { int x = 5; public static void main(String[] args) { ExampleObj myObj = new ExampleObj(); System.out.println(myObj.x); } }