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 string args [] in java?
Why java is considered as platform independent?
Can long be null in java?
What is the syntax and characteristics of a lambda expression? Explain
How many types of gc are there in java?
What is considered an anti pattern?
Explain differences between checked and unchecked exceptions in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
what are abstract functions?
What is the primitive type short?
How many types of threads are there in java?
What is anagram word?
Is void a keyword in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Can we increase size of array?