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
Can a class be declared as protected?
What does java edition mean?
Java is pass by value or pass by reference? Explain
Explain the significance of class loaders in bootstrap?
What is garbage collection? Can it be forced to run?
Can a serialized object be transferred via network?
Can inner class have constructor?
What is passing by reference in java?
What does the @override annotation do?
Can we overload the methods by making them static?
Can we override the static methods?
What are 3 boolean operators?
What does three dots mean in java?
Is it possible to override the main method?
What is role of void keyword in declaring functions?