Psychology, asked by Anonymous, 1 month ago

a. Define a Wrapper Class WITH EXAMPLES?

Answers

Answered by CopyThat
1

Answer:

A Wrapper class is a class whose object binds or wraps or contains primitive data types. We need wrapper classes to wrap primitive values into a wrapper class objects and vice versa. The eight classes of java.lang package are known as wrapper classes in java.

Ex: Byte, Integer, Double etc.  

Answered by sasmitagadtiasasmita
0

Answer:

A wrapper class is a class whose object wraps or contains primitive data types.

Example char character

Hope this helpful to you

Similar questions