---
title: "What is the difference between Iterator and ListIterator?"  
description: "What is the difference between Iterator and ListIterator?"  
author: "Anonymous User"  
published: 2015-05-12  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/2512/what-is-the-difference-between-iterator-and-listiterator  
category: "java"  
tags: ["java", "collection"]  
reading_time: 1 minute  

---

# What is the difference between Iterator and ListIterator?

**Iterator** 1)Iterator traverses the elements in forward direction only. 2)Iterator can be used in List, Set and Queue.\
\
**ListIterator**1)ListIterator traverses the elements in backward and forward directions both.2)ListIterator can be used in List only.

## Answers

### Answer by Anonymous User

**Iterator** 1)Iterator traverses the elements in forward direction only. 2)Iterator can be used in List, Set and Queue.\
\
**ListIterator**1)ListIterator traverses the elements in backward and forward directions both.2)ListIterator can be used in List only.


---

Original Source: https://www.mindstick.com/interview/2512/what-is-the-difference-between-iterator-and-listiterator

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
