Guess Output - Java Quiz Question


What will be the output of the following program?


A
Derived
Base
Derived
B
Derived
Derived
C
Base
Derived
Base
Derived
D
Derived
E
Some other output
F
Compilation Error or Runtime Error