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 Murach's Java Servlets and JSP this week in the Servlets 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

What is the output for this Class

jami siva
Ranch Hand

Joined: Oct 16, 2009
Posts: 60
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

Joined: Oct 13, 2005
Posts: 37941
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
Similar Threads
question 7 of chapter 3
Can You Find the Error in this SCJP6 Study Guide Mock Exam Question?
Info concerning the updates to the SCJP 6 exam
K & B, Chapter 3, Quiz Question 7