Wrapper classes - Java Language Basics

Java examples for Language Basics:Primitive Types

Introduction

Every primitive type has a corresponding class defined in the Java API class library.

This class is called a wrapper class.

Wrapper Classes for the Primitive Types

Primitive Type Wrapper Class
intInteger
short Short
long Long
byte Byte
float Float
double Double
char Character
BooleanBoolean

Related Tutorials