This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 66
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: 44616
    
  34
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
 
It's not a secret anymore!