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 are the advantages of functions?

722


Why do we declare a class static?

762


What is the properties class?

832


How to make object serializable in java?

769


What is gui programming?

738


Describe string intern() methodology

820


How to find the largest value from the given array.

774


Is .net better than java?

783


What is final class?

798


Can you call a method on a null object?

781


Is null function in java?

797


What is variable and its types?

777


What classes of exceptions may be thrown by a throw statement?

756


Can private class be inherited in java?

815


What are local variables?

822