Infosys Interview Question

Java swap 2 numbers and print them