What are Wrapper Classes?
Describe the wrapper classes in Java.Wrapper classes are classes that allow primitive types to be accessed as objects.
Wrapper class is wrapper around a primitive data type.
Following table lists the primitive types and the corresponding wrapper classes:
Primitive
Wrapper
Boolean
java.lang.Boolean
Byte
java.lang.Byte
Char
java.lang.Character
double
java.lang.Double
Float
java.lang.Float
Intjava.lang.Integer
Longjava.lang.Long
Shortjava.lang.Short
Void
java.lang.Void
About Me
Friday, April 4, 2008
Wrapper Classes
Posted by Its For Techies at 4:49 AM
Labels: Wrapper Classes
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment