X946: ArrayLists 4

The method below takes in an ArrayList called arr, and returns that ArrayList. Before the return statement, remove the first item in the ArrayList.

You can assume this ArrayList always has at least one item in it.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.