File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B error page 380 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 "K&B error page 380" Watch "K&B error page 380" New topic

K&B error page 380

Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
I check the errata page..
But this has not been listed.
Table 6-3, 2nd row, pg 380
There is a static toString() method for ALL given Wrapper types,
including Boolean and Character.
Vad Fogel
Ranch Hand

Joined: Aug 25, 2003
Posts: 504
Hi Cathy, you're right, there're static toString() methods to all wrappers. However, I don't think it's an error of K&B. They show common methods in the table (those you should focus on learning for the exam). And, I should admit, that table is perfectly exhaustive as far as the exam is concerned.
Bert Bates

Joined: Oct 14, 2002
Posts: 8898
Hi Cathy!
We are going to change that in the book, and add it to the errata page. Just as an historical FYI, prior to 1.4 those two classes did not contain static toString() methods, they were added into 1.4. Good catch!
I would ask that you send us an email if you find any more errata, that way we'll be sure to capture them.

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link:
subject: K&B error page 380
It's not a secret anymore!