Assignment conversion happens when you assign a value to a variable of a different type
publicclass MainClass {
publicstaticvoid main(String[] argv) {
int i;
double d;
i = 10;
d = i; // Assign an int value to a double variable
System.out.println(d);
System.out.println(i);
}
}