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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is locale?

610


design an lru cache in java?

548


Write a program to calculate factorial in java?

590


What is * argv?

712


Can we return null in java?

649






How are variables stored in memory?

585


What does the exclamation mark mean in java?

599


What does the @override annotation do?

565


Is it necessary that each try block must be followed by a catch block?

564


What is rule of accessibility in java?

547


In which order the iterator iterates over collection?

587


Why convert an applet to an application?

624


What are the important methods of java exception class?

576


What method is used to specify a container's layout in java programming?

550


Can a static block throw exception?

660