This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Doubt About Enum in java 1,5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Doubt About Enum in java 1,5" Watch "Doubt About Enum in java 1,5" New topic
Author

Doubt About Enum in java 1,5

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
can anybody explain the use of enum in java1.5 ?

why enum can't be declared inside a method?

please explain?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

Have a look at The Java Tutorial - Enum Types.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt About Enum in java 1,5
 
Similar Threads
enum - need help
hi everybody, good morning
about enum
retrieve enumeration datatype into jsp
How to define constants for several classes?