Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enum doubt

 
Abdul Mohsin
Ranch Hand
Posts: 111
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A little beyond the scope of SCJP. Moving to one of our Java in General forums...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic