A

Admin • 831.35K Points
Coach

Q. Enums were introduced in?

  • (A) Java 4.0
  • (B) Java 8.0
  • (C) Java 5.0
  • (D) Java 6.0
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
Enums were introduced in Java 5.0. Enums restrict a variable to have one of only a few predefined values. The values in this enumerated list are called enums.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.