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
What is the method to expand and collapse nodes in a jtree?
What is definition and declaration?
what is abstract class in Java?
What variables are stored in stack?
How many bytes are there?
How can we find the actual size of an object on the heap?
Is nullpointerexception checked or unchecked?
Can we declare an array without size in java?
Is cout buffered?
What is the formula to calculate percentage?
Can we serialize singleton class?
What is the synonym of string?
what are three ways in which a thread can enter the waiting state? : Java thread
Can a boolean be null java?
Can we extend immutable class?