How to swap without third variable in java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/756750/swap-the-values-of-two-variables-without-using-third-variable">Swap the values of two variables without using third variable</a>  </p>
</blockquote>



<p>I was asked in an interview to swap two numbers, without using third variable and without using arithmetic operators, i could not figure out.How can we do that ? Is it possible ?. Regrets if this is a immature question</p>

<pre><code>int a =20;
int b =30;
</code></pre>
