Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-HashMap
140+ articles
java-stream
130+ articles
Java-Stream-programs
27 articles
Java-Iterable
1 article
Java-Iterator
11 posts
Popular Articles
Recent Articles
Replace an Element From ArrayList using Java ListIterator
Last Updated: 03 April 2023
To replace an element from an ArrayList, the set() method of ListIterator interface can be used. set() method of ListIterator replaces the l
...read more
Java
Java-Collections
Java Programs
Java-ArrayList
Picked
Java-Iterator
How to Remove an Element from Collection using Iterator Object in Java?
Last Updated: 07 January 2021
Collection in Java is a set of interfaces like List, Set, and Queue. An iterator in Java is used to iterate or traverse through the elements
...read more
Java
Technical Scripter
Java-Collections
Java Programs
Picked
Java-Iterator
Technical Scripter 2020
ListIterator in Java
Last Updated: 01 November 2022
ListIterator is one of the four java cursors. It is a java iterator that is used to traverse all types of lists including ArrayList, Vector,
...read more
Java
Java-Iterator
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-HashMap
140+ articles
java-stream
130+ articles
Java-Stream-programs
27+ articles
Java-Iterable
1+ articles
Iterator Interface In Java
Last Updated: 09 November 2020
Java Iterator Interface of java collections allows us to access elements of the collection and is used to iterate over the elements in the c
...read more
Java
Java-Iterator
Enumeration vs Iterator vs ListIterator in Java
Last Updated: 02 September 2020
Enumeration is an interface. It is used in the collection framework in java to retrieve the elements one by one. Enumeration is a legacy int
...read more
Java
Computer Subject
Difference Between
Java-Iterator
Java-Enumeration
How to iterate over a 2D list (list of lists) in Java
Last Updated: 17 March 2020
Given a 2D list, the task is to iterate this 2D list in Java.2D list (list of lists)The 2D list refers to a list of lists, i.e. each row of
...read more
Java
java-list
Traversal
Java-Iterator
Difference between an Iterator and ListIterator in Java
Last Updated: 21 February 2023
Iterators are used in Collection framework in Java to retrieve elements one by one. It can be applied to any Collection object. By using Ite
...read more
Java
Difference Between
Java Programs
Picked
Java-Iterator
PriorityBlockingQueue iterator() method in Java
Last Updated: 26 November 2018
The iterator() method of PriorityBlockingQueue class Returns an iterator over the elements in this queue. The elements returned from this m
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-Iterator
Java-PriorityBlockingQueue
Creating Sequential Stream from an Iterator in Java
Last Updated: 11 December 2018
Iterators, in Java, are used in Collection Framework to retrieve elements one by one.A stream in Java is a pipeline of objects from an array
...read more
Java
Java - util package
java-stream
Java-Iterable
Java-Iterator
Java-Stream-programs
Fail Fast and Fail Safe Iterators in Java
Last Updated: 02 September 2024
In this article, I am going to explain how those collections behave which doesn't iterate as fail-fast. First of all, there is no term as fa
...read more
Java
Java-HashMap
Java-Iterator
Java Iterator
Last Updated: 20 December 2024
An Iterator in Java is an interface used to traverse elements in a Collection sequentially. It provides methods like hasNext(), next(), and
...read more
Java
Java-Iterator
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !