For this Question: Given two elements A and B, your task is to swap the given two elements.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>Swap(int A, int B)</b>.Print one line which contains the output of swapped elements.Sample Input:-
5 7

Sample Output:-
7 5

Sample Input:-
3 6

Sample Output:-
6 3, I have written this Solution Code: class Solution {
public static void Swap(int A, int B){      
      int C = A;
      A = B;
      B = C;
      System.out.println(A + " " + B);
}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?