A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
what is a ENUM
saikrishna cinux
Ranch Hand
Joined: Apr 16, 2005
Posts: 689
posted
Feb 01, 2006 22:20:00
0
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: 14672
11
I like...
posted
Feb 01, 2006 23:18:00
0
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
posted
Feb 02, 2006 00:28:00
0
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
Similar Threads
64 bit jdk windows 7?
Method.getReturnType() and byte[]
Source cod java activation framework
Serialization ID generatio in Eclipse
getting disk space of the local and remote computer
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter