File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

K&B error page 380

 
Cathy Song
Ranch Hand
Posts: 270
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 504
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic