Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. An ENUM can be defined in the place ____ in Java?

(A) Inside a class but outside of methods
(B) Inside an Interface but outside methods (abstract if any)
(C) Outside a class or interface
(D) All the above

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.