• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple enum doubt?

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's because enums within a class behave like static inner classes.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Classes in classes hardly counts as a "beginning" topic. Moving thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic