Hello guys,
I am currently learning Java. Excuse me for my stupid question. I have come across an example in my book which I don't quite understand. Can anyone explain me please?
K has the value 10 and j == 5
It says that the following expression should equal: k==0; j==4;. The expression is:
k/= 25 * j--
I think though that k==10 and j==4 because - we do the following:
k/= 25 * (j=j-1)
k/= 25 * 4
k/= 100
k= k/100
k= 10
As a result k==10 and j==4. Can anyone clarify please?
Thank you