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 many inner classes can a class have?
How do you clear a method in java?
What is an exception in java?
What is the final blank variable?
What is the function of static in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Why is string builder not thread safe?
What is treeset in java?
How many decimal digits is 64 bit?
Explain about static nested classes in java?
What do negative exponents mean?
What is an empirical question?
What does \ mean in regex?
What are the four corner stones of oop?
Write a program to check string is palindrome without using loop?