Java Reference
In-Depth Information
Chapter 12
Enumerations, Autoboxing, Static Import, and An-
notations
Key Skills & Concepts
Understand enumeration fundamentals
Use the class-based features of enumerations
Apply the
values( )
and
valueof( )
methods to enumerations
Create enumerations that have constructors, instance variables, and methods
Employ the
ordinal( )
and
compareTo( )
methods that enumerations inherit from
Enum
Use Java's type wrappers
Know the basics of autoboxing and auto-unboxing