Observe the following coding in Java and find the output:--
class A{
A()
{
System.out.print("R");
}
}
class B extends A { B() { System.out.print("A"); } }
public class C extends B{ C() { System.out.print("J"); }
public static void main(String args[])
{
C ob=new C();
}
}
log on to comprogzz.in for more such coding !!
Problem Loading...
Note Loading...
Set Loading...