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
What methods are used in Servlet?Applet communication?
Is java code slower than native code?
What is the difference between the final method and abstract method?
What is the collection interface?
What is java autoboxing?
What is the string function?
How does java enable high performance?
Describe what happens when an object is created in java ?
what is enumset?
Why do we use string?
Say any two properties in beans?
Explain what are final variable in java?
What is dynamic array in java?
Can we sort set in java?
What is lambda programming?