Answer (Choose 1 answer)
A. Compile time error
B. Checket followed by Base
C. Base followed by Checket
D. runtime error
What will happen when you attempt to compile and run the following code?
class Base{
Base(){
System.out.println("Base");
}
}
public class Checket extends Base{
public static void main(String argv[]) {
Checket c = new Checket();
super();
}
Checket(){
System.out.println("Checket");
}
}