Answer Posted / debapriya patra
When we need to store primitive datatypes as objects, we use
wrapper classes.MEans in utility classes all the utility
classes stores Objects.So when we need to store a primitive
datatype.We make an object of theat primitive data and store it.
Thats why we use Wrapper classes in Java.
| Is This Answer Correct ? | 172 Yes | 21 No |
Post New Answer View All Answers
Tell us something about different types of casting?
What data type is a string?
What is the difference between a field variable and a local variable?
Can a class with private constructor be extended?
what is thread? What are the high-level thread states? : Java thread
How do you break a loop?
define polymorphism in java
State some advantages of java?
How do you write a scanner class in java?
What is meant by class and object in java?
How can we create an immutable class in java?
What is the this keyword?
Can a private method of a superclass be declared within a subclass?
Can private members of a base class are inheritable justify?
How does java pattern compile work?