|
@ -17,7 +17,7 @@ public class ArrayManipulation { |
|
|
} |
|
|
} |
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
|
|
|
|
|
|
int[] arr = {1,2,3,4,5}; |
|
|
|
|
|
|
|
|
int[] arr = {1,2,3,4,5,8}; |
|
|
System.out.println(Arrays.toString(reverseArray(arr))); |
|
|
System.out.println(Arrays.toString(reverseArray(arr))); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|