I try to add objects to a List<String> instance but it throws an UnsupportedOperationException.
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code nece