

MCQOPTIONS
Saved Bookmarks
1. |
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 |
Answer» B. Both threads can perform action successfully | |