Wrapper Class Assignment Help

It is a class to which its object have some data types which the wrapper class wraps around it.

It also converts the data type into objects. Therefore a wrapper class creates an object of data types that comprises a field to store it.

Many programming languages like java and c# uses wrapper class to convert the data types into objects.

It also contains its own methods so it’s easier to use in a wrapper class. A wrapper class contains all the data types except string data type because string is already wrapped in a char data type.

Wrapper classes include all data types including int, long, double, float, short, uint.


Share This