InterviewSolution
Saved Bookmarks
| 1. |
Which of these is a method of ListIterator used to obtain index of previous element?(a) previous()(b) previousIndex()(c) back()(d) goBack() |
|
Answer» The correct choice is (b) previousIndex() For explanation I would say: previousIndex() returns index of previous element. if there is no previous element then -1 is returned. |
|