Primitive wrapper class in Java: Difference between revisions

Content deleted Content added
Gprathour (talk | contribs)
No edit summary
Gprathour (talk | contribs)
mNo edit summary
Line 26:
 
<b>Don't get confused</b><br/>
The term mentioned <i>Primitive Wrapper Classes</i> <b>does not</b> mean that Wrapper classes are Primitive types in Java. It should be read this way, a class that wraps a primitive type. Wrapper classes can be used to store the same value as of a primitive type variable but the instances/objects of wrapper classes themselves are <i>Non-Primitive</i>. We cannot say that Wrapper classes themselves are Primitive types. They just wrapswrap the primitive types.