(14)
Answer (Choose 1 answer)
A. Compilation and output of the string "Base"
B. Compilation and output of the string "Severn" at runtime
C. Compilation and no output at runtime
D. Compile time error
class Base
What will happen when you attempt to compile and run the following class?
Base(int i){
System.out.println("Base");
}
}
class Severn extends Base{
public static void main(String argv[]){Severn s = new Severn();
void Severn(){
System.out.println("Severn");}
}