A

Admin • 828.03K Points
Coach

Q. Which interface do all enums implicitly implement in Java?

  • (A) Serializable
  • (B) Cloneable
  • (C) Comparable
  • (D) Iterable
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Java
  • Hashtags: Java Enums

Explanation by: Admin
All enums implicitly implement the `Comparable` interface to allow natural ordering.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.