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...

why the primitive data type have classes?

Answer Posted / ranganathkini

All of Java's primitive data types have an associated
Wrapper class. These wrapper classes provide useful
functions such as conversion or comparisons most of which
are used by Java implicitly.

Also a wrapper serves as a container for primitive values in
conditions where a reference type is expected.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is stringbuffer not immutable?

1133


What is the unit of plancks constant?

1096


How to Sort Strings which are given in List and display in ascending order without using java api.

4509


Does list maintain insertion order java?

965


What is the basic concept of java?

1066


What is regex java?

1167


Why local variables are stored in stack?

1039


How is a structure different from array ?

1094


What is the epoch date?

1065


Why is core java important?

1085


Can we sort set in java?

1009


How do you do descending order in java?

1009


Which sorting algorithm is best in java?

1023


Does apple use java?

1000


How does enum work in java?

1067