D

Dhruva Jagannath • 660 Points
Invincible

Q. Which of these is NOT true about enums in Java?

  • (A) They can implement interfaces
  • (B) They can extend classes
  • (C) They can have methods
  • (D) They are final by default

Explanation by: Dhruva Jagannath
Enums cannot extend classes because they already extend `java.lang.Enum`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.