Creating abstract class - Java Quiz Question


What is the output of the following program?


A
Cat Rabbit Lion
B
Cat Animal Animal
C
Compilation Error at LINE A, since a class with no abstract methods can not be declared as abstract
D
Compilation Error at LINE B, since overridden methods return type can not be changed
E
Compilation Error because of some other reason