Module 13: Enums and Annotations
Enum Fundamentals
Define finite sets of constants with type safety and built-in methods.
Enums extend java.lang.Enum implicitly; each constant is a singleton instance.
Add fields, constructors, and methods to enrich enum behavior (e.g., code, label).
Use EnumSet/EnumMap for high-performance sets/maps with enum keys.