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
Explain about data types?
what is the difference between the methods sleep() and wait()? : Java thread
What is anagram in java?
What is the difference between array list and vector in java?
What is difference between word and integer?
What is callablestatement? How you can call stored procedure to pass in parameter?
Define linked list and its features with signature?
What are the differences between wait() and sleep()?
What is starvation?
What is nan inf?
Is 0 a prime number?
How to split a string in java?
What is hashing in java?
What is the use of join method?
What is the impact of declaring a method as final?