Integer class in java

http‮www//:s‬.lautturi.com
Integer class in java

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.

We can use the methods of Integer class to convert an int to a String or convert a String to an int.

int val = 123;
Integer valAsInteger = 123; //Autoboxing ( Converting from int to Integer)
Created Time:2017-09-17 14:44:37  Author:lautturi