Name the package that contains wrapper classes ?
Reference : JAVA
Answers
Answered by
32
Hey friend,
The package that contains wrapper classes is java.lang
This package is called by itself i.e. by default in Java.
HOPE MY ANSWER WAS HELPFUL TO YOU!
The package that contains wrapper classes is java.lang
This package is called by itself i.e. by default in Java.
HOPE MY ANSWER WAS HELPFUL TO YOU!
uniyala84:
Well I did not socialise any site
Answered by
4
Answer:
Java. Lang package contains the wrapper class in java programming .
Explanation:
Generic classes only work with objects and they do not support primitives so we want to convert the primitive classes into wrapper objects in order to work with them. They convert the data types into objects.
The primitive values are manually convert corresponding wrapper classes and stored in collections. Each primitive has its corresponding wrapper classes namely int, float, Boolean, double, long, short, and byte.
Similar questions