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...

What is a Wrapper class?

Answer Posted / rakesh

It is sometimes easier to deal with primitives as objects.
Moreover most of the collection classes store objects and
not primitive data types. And also the wrapper classes
provide many utility methods also. Because of these resons
we need wrapper classes. And since we create instances of
these classes we can store them in any of the collection
classes and pass them around as a collection. Also we can
pass them around as method parameters where a method expects
an object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is passing value java?

1107


What is the difference between @before and @beforeclass annotation?

1196


What are inbuilt functions in java?

1166


What is annotation in java?

1108


what is the purpose of using rmisecuritymanager in rmi?

1013


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

1140


What is codebase?

1052


Why multiple inheritance is not supported by java?

1025


What does main method?

1014


Can Exception handling we can handle multiple catch blocks?

1085


What is double in java?

1036


What is the purpose of methodology?

1139


What are the states of thread in java?

1033


Is a class subclass of itself?

1127


What is console based application in java?

1085