SPIRO THE TECH GURU

Back

what is wrapper class in java

By Admin on

All the wrapper classes (Integer, Long, Byte, Double, Float, Short) are subclasses of the abstract class Number. The object of the wrapper class contains or wraps its respective primitive data type. converting primitive data types into object is called boxing, and this is taken care by the compiler.
SPIRO Google Plus