wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes about enum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "about enum " Watch "about enum " New topic

about enum

Ashish Anil Khadilkar

Joined: Jul 13, 2006
Posts: 18
Can anyone please explain me why enum is introduced in java2 ? what are the advantages ?
Thanks in advance for those who reply ...

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

You'll find the main advantages here :

[My Blog]
All roads lead to JavaRanch
It is sorta covered in the JavaRanch Style Guide.
subject: about enum
Similar Threads
Creating SingleTON without static variables
Enum Problem
retrieve enumeration datatype into jsp
How to define constants for several classes?
what results byte code in java