Java intercambiar la poicion de valores de un array
int lastElement = values[values.length-1];
values[values.length-1] = values[0];
values[0] = lastElement;
Faithful Fox
int lastElement = values[values.length-1];
values[values.length-1] = values[0];
values[0] = lastElement;