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

If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1217


what is interface in java? Explain

919


What is difference between java and java ee?

971


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

1104


What is substring 1 in java?

1079


What is the instance of an object?

1133


What is bytecode verifier?

885


What is the maximum size of arraylist in java?

956


Write a program to find maximum and minimum number in array?

950


What is the differences between heap and stack memory in java? Explain

939


What is a layout manager and what are different types of layout managers available in java awt?

1210


What is compareto () in java?

921


What is java volatile?

970


What is use of inner class in java?

1056


Can vector have duplicates in java?

894