File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 14688

You'll find the main advantages here :

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: about enum
It's not a secret anymore!