Multiple choice technology programming languages

enum is a Keyword in Java, introduced from J2SE 5

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The enum keyword was introduced in Java 5 (J2SE 5.0) to define enumeration types, providing type-safe constants. Before this, the pattern used int constants.