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
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is the type of lambda expression?
What are identifiers in java?
what is object slice?
What is the difference between equals() and == in java?
What isan abstract class and when do you use it?
Can you explain the final method modifier?
What is consumer interface?
Which category the java thread do fall in?
Is math class static in java?
What is the difference between Error, defect,fault, failure and mistake?
Program to Find the second largest element in an array.
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What is instanceof keyword?