Swap two numbers in java using third or temporary variable (example)

Given two input numbers, swap numbers using temporary variable. e.g. Given two input numbers x = 10 & y = […]