This illustration shows that invoking the remove method causes the container to perform the following: