Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enum

 
Dharmakumar Gajendran
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is an Enum and its usage?
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After reading this what don't you get?
 
Shashank Agarwal
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dharmakumar Gajendran wrote:Can any please explain what is Enum and its usage?

Thanks.


Enum helps you enumerate things, like say that days in a week, countries in the world etc. A good tutorial can be found here - http://java.sun.com/docs/books/tutorial/java/javaOO/enum.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic