Home » Java Programming » Java.lang Class

What will be the output of the program? class A { public A(int x){} } class B extends A { } public class test { public static void main (String args []) { A a = new B(); System.out.println("complete"); } }

Next →

Discussion & Comments

No comments yet. Be the first to comment!