When working with valueOf Methods that return wrapper classes, I think Bert and Kathy need to mention the fact that valueOf can take a primitive (thanks Barry!) too and not only a string and a string+radix?
Eg: Integer i2 = Integer.valueOf("43") returns Integer 43 and so does Integer i3 = Integer.valueOf(43);
Probably need to include it in Table 3-3 (pg 233) ?
The content of the book is awesome !! (Thanks guys) but the binding is not that great , my books is pretty much in pages and I am using binder clips to keep them bound !
[ September 24, 2006: Message edited by: Barry Gaunt ] [ September 24, 2006: Message edited by: Peter Gade Christensen ]
I think I'm tending to side with Keith on this one, although I'm open for more discussion.
We make a lot of subjective calls about what parts of the API to include in the book - we almost never list all the methods of a given class, usually we list those that we think are on the exam or might be really useful or commonly used.
In other words, once we're sure we've covered the exam contents, we like to use the 80/20 rule to determine what else should be in the book. I guess that valueOf(primitive) is kind of interesting, but I'm not convinced it falls into the 80/20 category...
Again, I'm open to be convinced
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)