X1365: ArrayListSet - size()

In this fourth exercise for the ArrayListSet class, you will complete the size method. This method returns the number of elements stored in the set. Remember that the elements of this set are stored in an ArrayList in an instance variable named set.

You might want to look at the documentation for ArrayList to refresh your memory of how to use that class.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.