A

Admin • 832.27K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 25
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.