Click to reopen instructions.

A few List methods to practice with. Declare all your parameters, return types, and variables using the interface type List, not ArrayList. Since List is an interface, when you need to make a new list you will still construct an ArrayList, e.g. List<String> result = new ArrayList<>();

Put definitions here.

Revisions:

Test results show up here.

Errors