I finished the assignment that I was working on.
But i’m trying to modify it a little
What I’m trying to do is remove a record and I want ot use an iterator to do it.
if I was using a for each loop it would be something like this.
for(People someone : person)
(someone instanceof Parent)
((Parent)someone.whatever
How would you do that with an iterator?
thanks in advance
I think this is what you are looking for: