class One { public static int j = 90; One() { j = 12; } } public class Test extends One { public static void main(String args[]) { new Test(); System.out.println(One.j); } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment