Q79
What will be the output of the following Java code snippet? enum Levels private TOP, public MEDIUM, protected BOTTOM;
A.
Runtime Error
B.
EnumNotDefined Exception
C.
It runs successfully
D.
Compilation Error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board