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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 types of control structures?

972


What is singleton class and how can we make a class singleton?

1069


What is private public protected in java?

1001


Is it possible to specify multiple jndi names when deploying an ejb?

955


Can we write class inside a class in java?

929


Explain the hierarchy of java exception classes?

1031


What is the final access modifier in java?

1031


What are the advantages of functions?

878


What is an array in java?

1146


What is the tradeoff between using an unordered array versus an ordered array?

1175


When does a class need a virtual destructor?

964


How do you override a private method in java?

938


Differentiate between the constructors and methods in java?

909


Can an interface have a constructor?

910


What are the differences between stringbuffer and stringbuilder?

1014