my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Wrapper Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrapper Classes" Watch "Wrapper Classes" New topic
Author

Wrapper Classes

suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
I need info/notes/url on wrapper classes. Please direct me there.
suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
Is there any java book on wrapper classes?Please let me know.
Binu K Idicula
Ranch Hand

Joined: Jul 11, 2002
Posts: 99
It is better if you use API for reference.
This is always good to understand these about wrapper classes.
difference between
.decode()
.parseXXX();
.valueOf()
and try some arithmetic operators on
.MIN_VALUE , .MAX_VALUE of each wrapper.
and also including POSITIVE_INFINITY and NEGATIVE_INFINITY, NAN
regards
Binu
suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
I am not finding any API info on wrapper classes. I found only wrap(int),wrap(byte) etc. Can anyone send me the url for that pl.
Thanks
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
I haven't heard of a method called wrap() -- where did you find it?
Wrapper classes are Boolean, Byte, Character, Short, Integer, Long, Float, Double. These are all in the package java.lang .
Note these all begin with capital letters, to distinguish them from primitive types that would otherwise have the same names.
[ August 23, 2002: Message edited by: Ron Newman ]

Ron Newman - SCJP 1.2 (100%, 7 August 2002)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Wrapper Classes