| 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.)
|
 |
 |
|
|
subject: K&B error page 380
|
|
|