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 wrapper class and its uses?

Answers were Sorted based on User's Feedback



what is wrapper class and its uses?..

Answer / guru

wrapper class used access the primitive data types as objects.
we cant store primitive data in arraylist,hashtable so we
using wrapper class used to store primitive data types as
objects,caz objects only can store in collections

Is This Answer Correct ?    7 Yes 0 No

what is wrapper class and its uses?..

Answer / vijayakumar chinnasamy

A class enclosed or Wrapped the primitive data type is
called wrapper class.

Number class is the super class for Wrapper class. subclass
of Number classes are Byte,Short,Intger,Long,Float,Double,
Character

primitive values Wrapper class

byte Byte
short Short
int Integer
long Long
float Float
char Character

Mostly the wrapper classes are used to pass the date thru
networks/serializable.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose

3 Answers   Oracle, Surya Software,


Can you give few examples of final classes defined in java api?

0 Answers  


what is difference between global methods and local methods?

1 Answers  


We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?

6 Answers   TCS,


Can java list be null?

0 Answers  


What is a Wrapper class?

14 Answers  


How can you avoid serialization in child class if the base class is implementing the serializable interface?

0 Answers  


What are the three parts of a lambda expression? What is the type of lambda expression?

0 Answers  


What is unicode in java?

0 Answers  


whats the purposr of using serialization?

6 Answers  


What is difference between iterator and enumeration in java?

0 Answers  


Which collection is best for sorting in java?

0 Answers  


Categories