int em duplo Umwandeln java

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