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 the static method?

0 Answers  


Does java allow overriding static methods ?

0 Answers  


why the abstract class has default constructor?

2 Answers  


what is an objects lock and which objects have locks? : Java thread

0 Answers  


where u use Abstraction and Interface in real time

3 Answers   Sonata,


Can an interface implement another interface?

0 Answers  


How do you join strings in java?

0 Answers  


Is char * a string?

0 Answers  


What are the different approaches to implement a function to generate a random number?

0 Answers   Axtria, ITC Indian Tobacco Company,


What is the purpose of using break in each case of switch statement?

0 Answers  


Can we overload the methods by making them static?

0 Answers  


What is the += operator called?

0 Answers  


Categories