Question: Java programming question. I want to create a iterator class, which it will return a iterator which store three objects. object 1 : 123 object
Java programming question.
I want to create a iterator class, which it will return a iterator which store three objects.
object 1 : "123" object 2: "456" object 3: "789"
Here is a part of the code:
public Iterator
// please fill this part
}
This class return a iterator which store those 3 objects.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
