aspose file tools*
The moose likes Beginning Java and the fly likes How to call method which was in enum class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to call method which was in enum class" Watch "How to call method which was in enum class" New topic
Author

How to call method which was in enum class

jami siva
Ranch Hand

Joined: Oct 16, 2009
Posts: 60
Hi,

i read K & B, i structed with this, i tried in my machine, but i didn't get,
In below code how to call getLidCode() in OVERWHELMING.
Please any one can help.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
java$ java Coffee
Lid code for OVERWHELMING coffee = A
The only change I made to your code was correcting the indentation.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

And people say indentation isn't useful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call method which was in enum class
 
Similar Threads
Constant Specific class body [ENUM]
use of " this " ...
Semicolon after enum constant declaration?
Hard Exam question