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 are the data types supported by java?

1079


What is a values collection view ?

1149


What is meant by structural programming?

1067


What is boolean query?

1037


What is the difference between heap memory and stack memory?

1120


Define Multiprogramming and Multiprocessing in java.

1219


What is generic class?

1134


What is e in java?

1010


What is memory leak and how does java handle it?

1030


Why vector is used in java?

1069


What is application tier?

1180


Explain what do you mean by functional overloading in java?

1068


What is classname class in java?

1130


What are void methods?

1062


Why we override equals() method?

1082