What happens if two threads simultaneously modify TreeSet?
(a) ConcurrentModificationException is thrown
(b) Both threads can perform action successfully
(c) FailFastException is thrown
(d) IteratorModificationException is thrown
The question was posed to me in homework.
Query is from Data Structures-Set in portion java.util – The Collections Framework of Java