wood burning stoves*
The moose likes Java in General and the fly likes simple enum doubt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "simple enum doubt?" Watch "simple enum doubt?" New topic
Author

simple enum doubt?

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055



http://www.lifesbizzare.blogspot.com || OCJP:81%
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

That's because enums within a class behave like static inner classes.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
Classes in classes hardly counts as a "beginning" topic. Moving thread.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: simple enum doubt?
 
Similar Threads
Regarding accessing of enum declared inside and outside a class
Enum
Enums
Doubt regarding enum
enums