Classes of Wrapping in Java (Wrapper classes)

Author
By Darío Rivera
Posted On in Java

Wrapper classes, also known as wrapping classes, are classes that represent a primitive data type. That is, they are a type of reference that wraps a primitive type. Each primitive data type has a corresponding reference type that wraps it. Let's take a look at the following table.

Data type Wrapper class
byte Byte
short Short
int Integer
long Long
float Float
double Double
boolean Boolean
char Character

Acerca de Darío Rivera

Author

Application Architect at Elentra Corp . Quality developer and passionate learner with 10+ years of experience in web technologies. Creator of EasyHttp , an standard way to consume HTTP Clients.

LinkedIn Twitter Instagram

Sólo aquellos que han alcanzado el éxito saben que siempre estuvo a un paso del momento en que pensaron renunciar.