Java provide equivalent class types for primitive types.

int - Integer
double - Double etc...

These classes are called wrapper classes, because they are wrapping the primitive values.
Before java 1.5 to wrap a primitive value there are workarounds.

From java 1.5 it is automated. That is why this is called autoboxing.
from java 1.5 we can write

Integer i=10;
Double d=10.5;

you don't need to write any object creation code
Eg. Double d=new double();