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 is the java project architecture?

2290


5 Coding best practices you learned in java?

1061


What are parameters in a method?

1155


Is linked list a linear or non-linear data structure?

1009


What is the difference between sleep and wait in java?

1011


What is the best way to findout the time/memory consuming process?

1074


What is meant by flickering?

1130


How do you implement tree mirroring in java?

1118


When object is created and destroyed?

1143


How can you say java is object oriented?

1135


What is an array in java?

1281


Explain java coding standards for interfaces?

1165


What is var keyword ?

1232


What is difference between an object and a class?

1171


Which is easier .net or java?

1132