RULESWARE interview question

Tell me how to swap 2 values without using a third variable in Java

Interview Answer

Anonymous

Dec 29, 2017

a =1,b=2 , a=b+a,b=b-a,a=b-a