Don't let the Lockdown slow you Down - Enroll Now and Get 3 Course at 24,999/- Only. Explore Now!


Wrapper Class in Java

Wrapper Class in Java

Wrapper Class in Java

Some times values we need to store in objects instead of primitives at that time wrapper classes are helpful to store.This will wrap the primitives into a objects and converting primitive into Object is call Boxing and Converting Object into corresponding primitive is called unboxing. From java 1.5 onwards auto boxing and unboxing came into picture.

int – Integer
byte – Byte
short – Short
long – Long
double – Double
boolean – Boolean
float – Float
char – Char

The above are the primitive types and their corresponding Wrapper classes. Number class is the parent for all this wrapper classes.

Click Here-> Get Java Training with Real-time Projects

Scroll Up
Besant Technologies WhatsApp