In Java, there are useful methods to make a Collection class read
Only. We can make the Collection read Only by using one of the
following methods:
Collections.unmodifiableMap(Map m)
Collections.unmodifiableList(List l)
Collections.unmodifiableSet(Set s)
Collections.unmodifiableCollection(Collection c)