[Solved] ListIterator Strange Adding to ArrayList
Your question isn’t clear, but I suspect the main point you may be missing is that ListIterator.add inserts at the current location: The element is inserted immediately before the next element that would be returned by next(), if any, and after the next element that would be returned by previous(), if any. And also: The … Read more