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

What are the types of exceptions?

1059


Why are getters and setters used?

1060


What is the difference between heap memory and stack memory?

1070


What is a layout manager and what are different types of layout managers available in java awt?

1246


Can we able to pass objects as an arguments in java?

1022


What does || || mean in math?

938


Which class is used by server applications to obtain a port and listen for client requests?

965


Explain the difference between static and dynamic binding in java?

1067


Can we store variables in local blocks?

1351


Can I use % with real numbers?

1021


What is the difference between preparedstatement and statement in java?

1162


How is tree Mirroring implemented?

1076


What is fail first in java?

1203


Why singleton class is used in java?

1133


Why should I use abstract class?

1105