целочисленный класс в Java
int val = 12;
Integer valAsInteger = 12; //Autoboxing (i.e converting from int to Integer)
System.out.println("Val as double: " + valAsInteger.doubleValue()); //this is an ex where you can benefit from the Integer class
Steven2003