so we use temp just to increase the order by 1?
Type: Posts; User: unleashed-my-freedom
so we use temp just to increase the order by 1?
At first, I had 10 20 30 40
But the temp, I had 40 10 20 30.
So you mean if I use temp, the number will (in this case) increase by 1 position?
Can someone explain the coding in bold to me? I don't understand how to get 40 10 20 30.
public class Rotater {
public static void main(String[] args) {
int a = 10, b = 20, c...