it is not accepting another RETURN
my code:
public static void main(String[] args) {
int one = 10;
int two = 20;
System.out.println(one + " " + two);
int res = swap(one, two);
System.out.println(res);
}
public static int swap(int one, int two) {
int temp = one;
one = two;
two = temp;
return one;
//return two;
}