File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Enum doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Enum doubt" Watch "Enum doubt" New topic
Author

Enum doubt

Abdul Mohsin
Ranch Hand

Joined: Apr 26, 2007
Posts: 111

Hi,

Can anyone explain me how a simple enum class say
enum{RED,BLUE,BLACK} is compliled and converted into class file.
I was just compiling it in verbose mode and found that Enum class is loaded before Object.

Please expain it.

Regards,

Abdul Mohsin


Regards, Abdul Mohsin
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
A little beyond the scope of SCJP. Moving to one of our Java in General forums...


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enum doubt