To ensure that a method is not able to modify a Collection passed as
an argument, we have to make the Collection read only.
We can make a read only collection by using
Collections.unmodifiableCollection(Collection c) method.
This will make sure that any operation to change the collection will
throw UnsupportedOperationException.