πŸ“Š JAVA
Q. In ListIterator, when a call to next() or previous(), if a call is made to set(E element) followed by add() or remove() what happens?
  • (A) Compilation error
  • (B) UnsupportedOperationException
  • (C) ConcurrentModificationException
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) ConcurrentModificationException

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
279
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Uday Singh
Publisher
πŸ“ˆ
98%
Success Rate