@@ -0,0 +1,142 @@
+public int%5B%5D swapEnds(int%5B%5D nums) %7B%0A  int temp = nums%5Bnums.length - 1%5D;%0A  nums%5Bnums.length - 1%5D = nums%5B0%5D;%0A  nums%5B0%5D = temp;%0A  return nums;%0A%7D%0A

Create swapEnds.java