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

When is an object subject to garbage collection?

1058


How much is a java license?

927


How do you sing an Applet ?

2459


Which collection is thread safe in java?

987


Explain the difference between intermediate and terminal operations in java8?

1111


What is the static import?

1102


Is age a discrete variable?

973


What are the advantages of assembly language?

929


If a class is declared without any access modifiers, where can the class be accessed?

1066


Do you know why doesn't the java library use a randomized version of quicksort?

951


What is meant by string is immutable?

1076


What are class members by default?

1077


I want to store more than 10 objects in a remote server? Which methodology will follow?

3201


How will you communicate between two applets?

1165


What does a void function return?

1001