public class Demo { public static void main(String[] args) { NewClass x = new NewClass(4); // Put a break here x.method3(); } }