What happens if two threads simultaneously modify TreeSet?
Posted: Wed Jul 13, 2022 7:46 pm
a) ConcurrentModificationException is thrown
b) Both threads can perform action successfully
c) FailFastException is thrown
d) IteratorModificationException is thrown
b) Both threads can perform action successfully
c) FailFastException is thrown
d) IteratorModificationException is thrown