Content deleted Content added
Wrapper classes aren't specifically restrained only to Java |
|||
Line 29:
==The Difference between Wrapper Classes and Primitive Types==
Primitive wrapper classes are
Therefore, the term ''Primitive wrapper class'' does not mean that wrapper classes are primitive types. It should be understood to be a class that wraps primitive types. 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 ''Non-Primitive''. We cannot say that Wrapper classes themselves are Primitive types. They just wrap the primitive types.
|