R

Ram Sharma • 193.88K 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
  • Correct Answer - Option(D)
  • Views: 211
  • Filed under category JAVA

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.


Question analytics