Solved

When Using the Add Method of the ListIterator to Add

Question 77

Multiple Choice

When using the add method of the ListIterator to add an element to a linked list, which of the following statements is correct?


A) The new element is inserted before the iterator position, and a subsequent call to next would be unaffected.
B) The new element is inserted after the iterator position, and a subsequent call to next would return the new element.
C) The new element is inserted after the iterator position, and a subsequent call to previous would be unaffected.
D) The new element is inserted before the iterator position, and a subsequent call to next would return the new element.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions