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?

Answers were Sorted based on User's Feedback



use of wrapper classes?..

Answer / rakesh kumar mishra

Collection accepts only object not primitive data-type And
server also works on only Objects.
So By help of wrapper class we can convert primitive
data-type to Object.

Is This Answer Correct ?    18 Yes 0 No

use of wrapper classes?..

Answer / vino

wrappper class uses for primitive datatype act as object.
ex:int-Integer

Is This Answer Correct ?    0 Yes 0 No

use of wrapper classes?..

Answer / 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

More Core Java Interview Questions

Why Java is a platform independent language?

6 Answers   Wipro, Zensar,


What is difference between path and classpath variables?

0 Answers  


what is the difference between yielding and sleeping? : Java thread

0 Answers  


Where is singleton pattern used?

0 Answers  


What is the difference between reader/writer and inputstream/output stream?

0 Answers  


Can you declare a static variable in a method?

7 Answers  


Explain difference between final, finally and finalize?

3 Answers   Cognizant,


how to print the below in java? * * * * * * * * *

2 Answers  


What is the access scope of protected access specifier?

0 Answers  


What is the difference between static synchronize() metod and synchronize() method?

1 Answers   Polaris,


Difference between string, string builder, and string buffer?

0 Answers  


what is polymorphism?

4 Answers  


Categories