title: Is it possible to write swap method in Java?
body: <p>Here is the question: write a method that swaps two variables. These two variables should be primitives. It doesn't need to be generic e.g. two <code>int</code> variables. Is there a way?!</p>