What will be the output of the program?


			  		

Loading

Choose the correct option.

What will be the output of the program?

class Base {      
Base() {
System.out.print("Base");
}
}
public class Alpha extends Base {
public static void main(String[] args) {
new Alpha(); /* Line 12 */
new Base(); /* Line 13 */
}
}

 

A. Base
B. BaseBase
C. Compilation fails
D. The code runs with no output