excuse me guys.

im kinda new to java and trying to learn.

i find it likely nice to know something about this.

so a friend of mine tried me and asked me to make this.

"a program that exchanges the values of 4 variables: a, b, c, d. The output must be:

the new value of a is the previous value of d,

the new value of b is the previous value of a,

the new value of c is the previous value of b, and,

the new value of d is the previous value of c.

Use only 4 variables in your program to come up with the answer. "