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
Is null or empty java?
What is the history of java?
What is jit compiler in java?
What are the uses of java?
In java how do we copy objects?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is the advantage of OOP in java?
What is an example of declaration?
Are arrays static in java?
What is the declaration statement?
Explain the pointers in Java?
What is isa relationship?
Is java written in c?
How many bits are in a sentence?
What is fail first in java?