ServiceNow interview question

Swap two numbers without using a 3rd variable. Some java try catch questions All questions were silly.