Computer Science, asked by RishabhRDX, 1 year ago

Name the package that contains wrapper classes ?

Reference : JAVA

Answers

Answered by BrainlyPromoter
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!

uniyala84: Well I did not socialise any site
BrainlyPromoter: i am sorry but you didn't gave the answer
uniyala84: I had written java.lang
BrainlyPromoter: you told that you are a little confused
BrainlyPromoter: which doesn't assures the questioner that whether the answer is correct or not
uniyala84: *were
uniyala84: Okay anyways get over it
Answered by skyfall63
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