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...


How to Create A Wapper Class in core Java and Why are Use in
java?

Answers were Sorted based on User's Feedback



How to Create A Wapper Class in core Java and Why are Use in java?..

Answer / tanmayy

We use wrapper classes in java so as to objectify the
primitive data types.There are certain wrapper classes for
different data types such as:-
int : Integer
float : Float
boolean : Boolean
etc...

Is This Answer Correct ?    16 Yes 0 No

How to Create A Wapper Class in core Java and Why are Use in java?..

Answer / srikanth

int i=100;
here we are converting primitive to wrapper object
Integer i=new Integer(i);

Is This Answer Correct ?    14 Yes 2 No

Post New Answer

More Core Java Interview Questions

Do you know how to reverse string in java?

0 Answers  


When can you say a graph to be a tree?

0 Answers   Amazon,


What methodology can be utilized to link to a database?

0 Answers  


what is the difference between sleep() and Wait()?

10 Answers   Accenture, Amdocs,


What are wrapped classes?

7 Answers   Samsung,


How to instantiate member inner class?

0 Answers  


What is the intersection and union methods?

0 Answers  


Is java 1.7 the same as java 7?

0 Answers  


What is a generic code?

0 Answers  


What is immutable class in java?

0 Answers  


Why lambda expression is used in java?

0 Answers  


Can a final variable be null?

0 Answers  


Categories