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 are wrapper classes?

Answer Posted / vijayakumar chinnasamy

Wrapper class : A class to enclosed(wrapped) the primitive
data type.

eg: Integer - it wrapp the int primitive data type.
Character - it wrap the chat data type.

int a=10;
Integer i=new Integer(a);

Java Wrapper class:

Integer,Byte,Short,Character,Boolean,Long,Float,Double.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between concurrent hashmap and hashtable and collections

1134


Are strings immutable in java?

1028


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

1068


What about member inner classes?

1160


What is double checked locking in singleton?

1107


How does queue work in java?

1031


Is static variable stored in heap?

1053


How do you reverse sort in java?

1002


Why strings in java are called as immutable?

1043


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

1374


What is an abstract class and what is it’s purpose?

1012


What are the pillars of java?

970


What is t type java?

1109


Is void a return type?

1021


How do you override a method in java?

1054