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 are the data types supported by java? What is autoboxing and unboxing?
What is meant by stack and queue?
How does singleton class work?
Differentiate between stringbuffer and string?
What is jit compiler in java?
Give us the name of the list layoutmanagers in java?
What is an interface in java?
Write a program to print 15 random numbers using foreach of java 8?
Is a method a function?
Why do we need wrapper classes?
Are static members inherited to sub classes?
Can a class have a static inner class?
What are 4 pillers of object orinted programming?
Can we have try block without catch block?
What is a cup of java?