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

When we need to store primitive datatypes as objects, we use
wrapper classes.MEans in utility classes all the utility
classes stores Objects.So when we need to store a primitive
datatype.We make an object of theat primitive data and store it.
Thats why we use Wrapper classes in Java.

int is a primitive data type , where as Integer is a class
which encapsulates the primitive int data type and
represents in terms of object.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of listiterator?

1096


Write java program to reverse string without using api?

1050


How can you traverse a linked list in java?

1127


What are three types of loops in java?

1132


How to create com object in Java?

1075


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

1052


What is an immutable object? How do you create one in java?

1065


Why is the main method static?

1157


How concurrent hashmap works?

1183


Can we increase size of array?

1025


What is a arraylist in java?

1064


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

984


When the constructor of a class is invoked?

1031


Which software is used for java programming?

1020


What are the properties of thread?

928