Which of the following is a common error when trying to modify an ArrayList while using an enhanced for loop.
A. OverflowException
B. runtime error
C. Overflow error
D. ConcurrentModificationException
Answer:D
Which of the following is a common error when trying to modify an ArrayList while using an enhanced for loop.
A. OverflowException B. runtime error C. Overflow error D. ConcurrentModificationException