aspose file tools*
The moose likes Beginning Java and the fly likes what is a ENUM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is a ENUM" Watch "what is a ENUM" New topic
Author

what is a ENUM

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
i have gone thru http://download.java.net/jdk6/docs/api/index.html
jdk 1.6 docu..
there is a word called ENUM
do u have any idea??


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

enum is already in 1.5.
The idea is the same as the C enums, but with more advanced stuff in it.(each value of an enum is actully a class)

A sample of Bert's new book containing info on enums :
http://wickedlysmart.com/certpdfs/sampleone.pdf


[My Blog]
All roads lead to JavaRanch
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html http://java.sun.com/docs/books/jls/third_edition/html/classes.html (JLS 3rd Edition 8.9)


Tony Morris
Java Q&A (FAQ, Trivia)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is a ENUM