Flash cards
Review the key moves
1/4
Core idea
What is the main idea behind Java ArrayList listIterator() Method?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
1Quick choice
Which statement best captures the main point of this lesson?
2Fill blank
Complete the missing token from the example code.
___3Order
Put the learning moves in the order that makes the concept easiest to apply.
The listIterator() method returns a ListIterator for the list.
Definition and Usage
Java ArrayList listIterator() Method
❮ ArrayList Methods
ListIteratorDefinition and Usage
The listIterator() method returns a ListIterator for the list.
To learn how to use iterators, see our Java Iterator tutorial .
The ListIterator differs from an Iterator in that it can also traverse the list backwards.
Syntax
public ListIterator listIterator()Technical Details
| Returns: | A ListIterator object. |
|---|