Complete Java 2 Certification Study Guide, 5th Edition
- In-depth coverage of every exam objective for the revised SCJP Exam
- Hundreds of challenging practice questions
- Leading-edge exam preparation software, including a test engine and the entire book on PDF
Authoritative instruction on all revised Programmer exam objectives, including:
- Declarations, initialization and scoping
- Flow control
- API contents
- Object-oriented concepts
- Collections and generics
- Language fundamentals
Detailed discussion of the key topics included in the Developer exam, including:
- Swing components and events
- Layout managers
- Enhancing and extending the database
- Writing the network protocol
- Building the database server
- Connecting the client and server
Chapter 1: Language Fundamentals.
Chapter 2: Operators and Assignments.
Chapter 3: Modifiers.
Chapter 4: Converting and Casting.
Chapter 5: Flow Control, Assertions, and Exception Handling.
Chapter 6: Objects and Classes.
Chapter 7: Threads.
Chapter 8: The java.lang and java.util Packages.
Chapter 9: I/O and Streams.
Chapter 10: About the Developer's Exam.
Chapter 11: Swing Components.
Chapter 12: Layout Managers.
Chapter 13: Object Streams and RMI.
Chapter 14: Putting It All Together.
Appendix A: Practice Exam.
Simon Roberts is a Sun Microsystems programmer, an instructor, an authority on the Java language, and the key player in the development of the entire Java certification program.
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
The password for the ebook is located on page xxii not xxiv.
Text Correction, Table 1.4: The size of "double" should be "64 bits" instead of "16 bits".
Fifth line from the bottom:
Question 18: The answer should be A and C. Replace the explanation given with the following:
Page 62Line 2: "The expression 1 ? 2,..."
Should read: "The expression 1 + 2,..."
Answer to Question 4:
Last sentence: "C is illegal..." should read "D is illegal..."
Change the 2nd & 3rd bullet items. The 2nd item should read, in its entirety, "A class may read and write protected fields that it inherits from its superclass. This must be done through a reference of the subclass type, not of the superclass type".
Answer to Q13:
Question 14: Change "can be declared" to "can all be declared" Delete "Variables cannot."
Answer 17: "A.. An object may call a protected method that it inherits a method from a superclass in a different package." -Replaces text as printed: "B. An object that inherits..."
Text Correction, page 107, end of paragraph: "This relaxation of the rule applies only when the assigned value is an integral literal. Thus the second line of the following code wil not compile." Should be: "This relaxation of the rule applies only when the assigned value is an integral literal or final. Thus the second line of the following code will not compile." (Add "or final at end of first sentence.)
Test Correction #2, page 126, Question 20, in the question body, change both occurrences of "conversion" to "conversion of references".
Test Correction #1, page 128, Answer to question 12 is d (instead of e; no e present in question).
Text Correction, Page 148: public PhaserBankException(String message, Throwable cause) implementation should be "super(message, cause);" and not "super(message);"
Chapter 5 Review Questions, page 157
In option C, line 2, change comma after "k=0" to a semicolon.
Text Correction: Number 10 answers are "B, D" instead of "A, B, D."
Text Correction: "14. printRJ("", w);" should instead read "14. printRJ (""+i, w);"
Page 307, Question 12
|Correct Password for PDF
The correct password to unlock the PDF is "appear".
|CD-ROM||Combined Bonus Exam Errata
Bonus Exam 1
Question 15: The correct answer, C, is given as "\\+". It should be "\\d+".
Question 31: The given answer is BD. It should be ABD
Question 35: Answer D: assert x==4 : x is not 4" should read
Question 44: The given answer is B. It should be A.
Bonus Exam 2
Question 25: For each instance of "thisThread" substitute "aThread". For each instance of "thatThread" substitute "bThread".
Bunus Exam 4
Question 2: The answer given is B. It should be A.
Question 9: The answer given is DE. It should be AD.
Question 10: The answer given is BD. C is also correct. The answer should be BCD.
Question 28: Answers D and E are identical. Change E to read: