just wanted to know why this program prints "25 and 7", instead of "25 and 25".
int b = 7;
int c = b;
b = 25;
System.out.print(b + " and " + c)
I am a little bit confused because the variable b has been replaced by the new value of 25, then why c still has its same value of 7?
Thank you in advance!