Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt About Enum in java 1,5  RSS feed

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 15859
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at The Java Tutorial - Enum Types.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!