Infosys interview question

Java swap 2 numbers and print them