jQuery in Action, 3rd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Bonus Master Exam issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Bonus Master Exam issues" Watch "Bonus Master Exam issues" New topic

Bonus Master Exam issues

Estelle DeBlois

Joined: Dec 14, 2008
Posts: 4
1. Question #37 of the Bonus Master Exam for SCJP 6 states that, among the statements that are true: "Both Currency and NumberFormat objects must be constructed using static methods."

Problem: The SCJP 6 Study Guide (K&B) never talks about the Currency class, only NumberFormat.getCurrencyInstance().


2. Question #7:

1. class Plant {
2. String getName() { return "plant"; }
3. Plant getType() { return this; }
4. }
5. class Flower extends Plant {
6. // insert code here
7. }
8. class Tulip extends Flower { }

Which statement(s), inserted at line 6, will compile? (Choose all that apply.)

Correct Answer
A: Flower getType() { return this; }
C: Plant getType() { return this; }
D: Tulip getType() { return new Tulip();

Problem: I chose A and C only because D is missing the closing curly brace... The system marked my answer as wrong.


3. Question #73:

[some code not shown here]

Correct Answer
B: Compilation fails due to a single error in the code.
C: Compilation fails due to multiple errors in the code.
E: By default, the readPassword() method echos the users keystokes.

C, D and F are correct. The System class method is console() not getConsole(), and the
readline() method returns a String not a char[].
A, B, and E are incorrect based on the above.

Problem: The Correct answers and explanations don't match. If you check C, D, and F, your response will be marked "incorrect". However, clearly, there's a problem with the correct answers. How could you have both B and C at the same time anyway?

I hope the real exam doesn't actually have issues like these... (The one about Currency is debatable, but still, it would have been nice if it had been in the Study Guide).
Don't get me started about those stupid light bulbs.
subject: Bonus Master Exam issues
It's not a secret anymore!