It's not a secret anymore!
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B error page 380 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "K&B error page 380" Watch "K&B error page 380" New topic
Author

K&B error page 380

Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
Hi,
I check the errata page..
http://www.wickedlysmart.com/SCJPStudyGuide/StudyGuideIndex.html
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.
Thanks.
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
author
Sheriff

Joined: Oct 14, 2002
Posts: 8717
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.
Thanks,
Bert


Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: K&B error page 380
 
Similar Threads
k&b errata
so confused, help
possible error in the book by kathy
Notes to the K&B book?
any Errata link (URL) to Kathy and Bert's book?