We Offer 100% Job Guarantee Courses (Any Degree / Diploma Candidates / Year GAP / Non-IT / Any Passed Outs). Placement Records
Hire Talent (HR):+91-9707 240 250

General

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

Besant Technologies WhatsApp