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
Why is stringbuffer not immutable?
Is void a wrapper class?
What is a control variable example?
Explain tree set and its features?
What is a condition in java?
what do you mean by stream pipelining in java 8? Explain
What is type parameter in java?
Explain the available thread states in a high-level?
What is the use of using enum to declare a constant?
What is the difference between procedural and object-oriented programs?
Describe method overriding
What is the requirement of thread in java?
Can a list be null in java?
Write a code to create a trigger to call a stored procedure
What is string in java is it a data type?