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

When will we prefer to use set and list in java and why?

712


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

794


What is java life cycle?

765


What is thread life cycle in java?

816


Why use string handling in Java?

791


Why we used break and continue statement in java?

789


What are the 8 primitive data types in java?

762


Explain the difference between intermediate and terminal operations in java8?

798


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

801


How to check if linked list contains loop in java?

652


If a method is declared as protected, where may the method be accessed in java programming?

709


Can you make a constructor final in Java?

850


What is object-oriented programming?

789


What does string [] args mean?

743


What is the basic of java?

784