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

What is final keyword in java? Give an example.

0 Answers  


What is an array in java?

0 Answers  


When does Exception occurs?

3 Answers  


What is the syntax and characteristics of a lambda expression?

0 Answers  


What are the differences between unchecked exception, checked exception, and errors?

2 Answers  


Is null a value?

0 Answers  


Is vector synchronized in java?

0 Answers  


When is finally block not called?

0 Answers  


What is meant by class loader and how many types are there?

2 Answers   Apple,


What does the append?

0 Answers  


How do you use final keywords and final variables in Java?

2 Answers  


What is the difference between actual and formal parameters?

0 Answers  


Categories