aspose file tools
The moose likes Beginning Java and the fly likes What is the output for this Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is the output for this Class" Watch "What is the output for this Class" New topic
Author

What is the output for this Class

jami siva
Ranch Hand

Joined: Oct 16, 2009
Posts: 66
what is the output for the above code , In K & B,page 281, they given output as :
A. The output could contain 30
B. The output could contain @bf73fa




But when i run this application ,i got compilation error , because getBidValue() is not there in enum class.

Any one help for this
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 42590
    
  31
Most likely a spelling error. Try getValue rather than getBidValue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the output for this Class