Question: Write a Java program Iterator Use the attached note. The attached note contains 4 packages: 1- iterator: contains 1 interface that contains methods of Iterator
Write a Java program
Iterator
Use the attached note.
The attached note contains 4 packages:
1- iterator: contains 1 interface that contains methods of Iterator that you implement in all custom iterators.
2- arraylist: contains class of custom ArrayList, custom ArrayList Iterator and test. this package is your reference in solving the assignment.
3- linkedlist: contains class of custom LinkedList and its Node.
4- doublelinkedlist: contains class of custom DoubleLinkedList and its Node.
. write like it for LinkedList and DoubleLinkedList.
. Create Main class for LinkedList Iterator and DoubleLinkedList Iterator.
. Write a comment for each method that you write.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
