Enums sample Chapter
On one of my favourite sources of free sample chapters, I found a link to a sample chapter on the new Java 5 feature - enums. Enumeration types to give them there full name is a way to create Constants in Java. Enums are more than constants they are more a constant data type.
A simple Example of a potential Enum would be days of the week.
The chapter is from the book Java 5.0 Tiger: A Developer's Notebook By David Flanagan, Brett McLaughlin. This is an excellent resource for people looking to study for the SCJP Java 5 exam or for people who would like to know how Emums works and best of all its free.
Here's the link
http://www.oreilly.com/catalog/javaadn/chapter/ch03.pdf
A simple Example of a potential Enum would be days of the week.
The chapter is from the book Java 5.0 Tiger: A Developer's Notebook By David Flanagan, Brett McLaughlin. This is an excellent resource for people looking to study for the SCJP Java 5 exam or for people who would like to know how Emums works and best of all its free.
Here's the link
http://www.oreilly.com/catalog/javaadn/chapter/ch03.pdf
0 Comments:
Post a Comment
<< Home