This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrapper Classes" Watch "Wrapper Classes" New topic

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
and try some arithmetic operators on
.MIN_VALUE , .MAX_VALUE of each wrapper.
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.
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)
I agree. Here's the link:
subject: Wrapper Classes
It's not a secret anymore!