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 / aditya mohata

These classes are Wrapper classes.We hav them as we cant
pass an primitive directly through an method to different
class.So we need wrapper classes to convert them to their
already defined classes.Send them n again unpack them.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Implementations of set interface?

1007


What is the char data type?

993


What is the use of protected in java?

1023


Give the difference between the println method and sqrt method?

1084


What is a local, member and a class variable?

1033


Explain about static nested classes in java?

1063


Is there any sort function in java?

1044


Explain about the dynamic behavior of core java?

1133


Explain about strings in java?

1070


Is it possible for yielded thread to get chance for its execution again ?

1024


How does map works in java?

992


What is subsequence of a string?

1095


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

979


Can we create object of static class?

1023


Why is core java important?

1035