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

use of wrapper classes?

Answer Posted / qamrun nisa

Wrapper classes are used to wrap primitive types (eg: int,
double, etc) in Objects which can be placed into Vectors,
and many, many other uses.

Following table lists the primitive types and the
corresponding wrapper classes:

Primitive Wrapper

Boolean java.lang.Boolean
Byte java.lang.Byte
Char java.lang.Character
double java.lang.Double
Float java.lang.Float
Int java.lang.Integer
Long java.lang.Long
Short java.lang.Short
Void java.lang.Void

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to calculate factorial in java?

966


Does unicode support all languages?

978


Explain implementation and how is it different from conversion?

1025


What is data member in java?

970


Explain the importance of finalize() method.

926


What is class level lock ?

978


Can an integer be null java?

943


Is constructor inherited?

923


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1097


What about features of local inner class?

1018


What do you mean by inner class in java?

1025


What is the size of a string in java?

949


What is method reference in java?

1067


What is a constructor overloading in java?

994


Can we declare the main method of our class as private?

959