0
/ 25.0
Write a method that reverses the contents of any given string array, then return the reversed conents as an arraylist. If the given array...
Write a method that reverses the contents of any given string array, then return the reversed conents as an arraylist. If the given array list is empty, return an empty array list.
Examples:
reverseContents({1, 2, 3, 4}) -> new java.util.ArrayList<Integer>(){{add(4);add(3);add(2);add(1);}}
Your feedback will appear here when you check your answer.