Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are wrapper classes?

Answer Posted / priyanka

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.

int is a primitive data type , where as Integer is a class
which encapsulates the primitive int data type and
represents in terms of object.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax and characteristics of a lambda expression?

1045


What is mean by exception?

1032


What exactly is methodology?

924


Can a class be final?

939


Are arrays primitive data types?

1184


What is the purpose of lambda expressions?

1058


What is abstract class? Explain

1044


Explain a few methods of overloading best practices in java?

987


Is there any difference between nested classes and inner classes?

1098


What is an object’s lock and which object’s have locks?

965


What is api in java?

980


Differentiate between array list and vector in java.

1114


How can we create an immutable class in java?

1066


What is the Difference between Final Class && Abstract Class?

1077


What is the difference between Grid and Gridbaglayout?

1244