a) ConcurrentModificationException is thrown
b) Both threads can perform action successfully
c) FailFastException is thrown
d) IteratorModificationException is thrown
What happens if two threads simultaneously modify TreeSet?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What happens if two threads simultaneously modify TreeSet?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!