O'Reilly logo

Java, A Beginner’s Guide, 5th Edition by Herbert Schildt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12Enumerations, Autoboxing, Static Import, and Annotations

Key Skills & Concepts

Image Understand enumeration fundamentals

Image Use the class-based features of enumerations

Image Apply the values( ) and valueof( ) methods to enumerations

Image Create enumerations that have constructors, instance variables, and methods

Employ the ordinal( ) and compareTo( )

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required