Int in Double Umwandeln Java

int a = 1;
double b = (double) a;
System.out.prinln(a+ ", " + b);//Output: 1, 1.0
znarfbay