Is there a Java function to convert a positive int to a negative one and a negative int to a positive one?
I\'m looking for a reverse function to perfor
reverse
x = -x;
This is probably the most trivial question I have ever seen anywhere.
... and why you would call this trivial function 'reverse()' is another mystery.