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 meant by HQL?
How do you generate random numbers in java?
What are desktop procedures?
What’s the difference between constructors and other methods?
How does a cookie work in Servlets?
What is double word?
What is the difference between length and length() method in java?
What is join () in java?
How do you decide when to use arraylist and linkedlist?
Which is easier .net or java?
What is meant by anonymous class?
Explain with example the concept of constant variable in java.
Does list maintain insertion order java?
What is the difference between abstract class and interface1? What is an interface?
What is the difference between length and size in java?