Share via


Class java.lang.Integer

Class Members | This Package | All Packages

java.lang.Object
   |
   +----java.lang.Number
           |
           +----java.lang.Integer

public final class Integer** extends Number

The Integer class wraps a value of the primitive type int in an object. An object of type Integer contains a single field whose type is int.

In addition, this class provides several methods for converting an int to a String and a String to an int, as well as other constants and methods useful when dealing with an int.