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
Explain aggregation in java?
What is variable and its types?
Differentiate storage classes on the basis of their scope?
What are "class access modifiers" in Java?
What are anonymous inner classes?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is string in java? String is a data type?
Which number is denoted by leading zero in java?
How are multiple inheritances done in Java?
What is string manipulation?
What are the rules for variable declaration?
What is java life cycle?
When should the method invokelater() be used?
What data type is true or false?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?