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

What is the base class of all exception classes?

1018


What are scalar data types?

984


What is a variable declaration?

926


What are the different tags provided in jstl?

912


What is boolean example?

890


what do you mean by stream pipelining in java 8? Explain

971


What is java string pool?

946


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1017


What is ph and buffers?

936


How concurrent hashmap works?

1118


Where is stringbuffer stored?

915


What are computer functions?

878


What is the difference between Error, defect,fault, failure and mistake?

1133


What is the reflection?

943


What is meant by final class?

1009