1.

What is the output of below code snippet? class A { } enum Enums extends A { ABC, BCD, CDE, DEF; }

A. Runtime Error
B. Compilation Error
C. It runs successfully
D. EnumNotDefined Exception
Answer» C. It runs successfully


Discussion

No Comment Found