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
How do you check if a character in a string is a digit or letter?
How do you declare a destructor in java?
What is Java Annotations?
Why string objects are immutable in java?
What are the features in java?
What is basic syntax?
Is there any limitation of using inheritance?
What are the different ways to handle exceptions?
When will you define a method as static in Java?
How do you remove duplicates from an array in java?
Define canvas?
Can we execute a program without main?
Differentiate between stringbuffer and string?
How many bytes is a string in java?
What is the purpose of an interface?