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 Enum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Enum" Watch "Enum" New topic


Dharmakumar Gajendran

Joined: Feb 22, 2010
Posts: 20
What is an Enum and its usage?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

After reading this what don't you get?

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Shashank Agarwal
Ranch Hand

Joined: May 20, 2004
Posts: 105
Dharmakumar Gajendran wrote:Can any please explain what is Enum and its usage?


Enum helps you enumerate things, like say that days in a week, countries in the world etc. A good tutorial can be found here -
I agree. Here's the link:
subject: Enum
It's not a secret anymore!