Grokking Java Intermediate
Ask Author
Back to course home

0% completed

Vote For New Content

Wrapper Classes in java
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

In Java, wrapper classes provide a way to use primitive data types (int, char, double, etc.) as objects. Each primitive type has a corresponding wrapper class in the java.lang package:

Primitive TypeWrapper Class
booleanBoolean
byteByte
charCharacter
shortShort
intInteger
longLong
floatFloat

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible