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

What is lambda programming?

1071


Do you need to import math in java?

1063


What is an error in java?

1205


How can we make a class singleton?

1126


How many bytes is a char in java?

1059


Which collection allows duplicate values in java?

1028


What is the escape character in java?

1036


What do you mean by formatting?

1047


How does indexof work?

1011


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

1031


What is the purpose of a volatile variable?

1106


How do you clear a list in java?

1208


What happens when I use / and % with a negative numerator?

1080


What is structure of java heap? What is perm gen space in heap?

1186


What is java’s garbage collected heap?

1034