posted 20 years ago
Dear all,
The Collection interface has optional operations like add()
and retainAll(). If an unsupported operation is invoked a
collection throws the UnsupportedOperationException.
Does this mean that all the classes implementing directly or
indirectly the Collection interface might have a method that
just throws an UnsupportedOperationException?
Greetings,
Gian Franco Casula