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

Explain about main() method in java ?

1063


What is the difference between C++ and Java and your preferences?

1109


What is nan in java?

990


how to open and edit XML file in Weblogic???

1967


What do you mean by a JVM?

1243


Why is java called java?

1046


What is keyset in java?

1077


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1079


What is meant by object?

1002


What are the two main uses of volatile in Java?

1056


What is the purpose of garbage collection in java, and when is it used?

1035


What are examples of modifiers?

1116


How is final different from finally and finalize?

924


Can we create an object of static class in java?

1014


What is ellipsis in java?

1080