• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

K&B error page 380

 
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic