Answer Posted / qamrun nisa
Wrapper classes are used to wrap primitive types (eg: int,
double, etc) in Objects which can be placed into Vectors,
and many, many other uses.
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
Int java.lang.Integer
Long java.lang.Long
Short java.lang.Short
Void java.lang.Void
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is array pointers ?
What are the 8 data types in java?
Is oracle java 11 free?
In java how do we copy objects?
What are 3 data types?
What is a class reference?
Can a class be protected in java?
Why do we declare a class static?
What does the “static” keyword mean?
Are registers volatile?
What is the functionability stubs and skeletons?
Why are getters and setters used?
What java ide should I use?
What are inner classes or non static nested classes in java?
What is ternary operator?