Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about enum

 
Ashish Anil Khadilkar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please explain me why enum is introduced in java2 ? what are the advantages ?
Thanks in advance for those who reply ...

Ashish
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll find the main advantages here :
http://jcp.org/aboutJava/communityprocess/jsr/tiger/enum.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic