Answer Posted / irshad ahmad
Wrapper classes are classes that are used to make primitive
data types into objects, and to make wrapped objects into
primitives because
As we know that vector in java can hold only object; but
can't directly store primitive data types, like int,float,
char, long, double. therefore we need to convert simple data
type to object. This can we done using wrapper classes.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Which is easier netbeans or eclipse?
How does compareto method work?
What is slash r?
What languages are pass by reference?
Write a program to check string is palindrome without using loop?
What is a boolean in java?
what is heap memory?
Can we make constructors static?
Is oracle charging for java?
What is preflight request?
What are the main uses of this keyword?
Can you have two constructors in java?
What is Recursion Function?
Explain what pure virtual function is?
Why generics are used in java?