Iterator-exercise
Exercise Number: 1
Question
Create a program that stores a list of fruits using an ArrayList.
First, add these fruits: "Apple", "Banana", "Mango", "Orange".
Then, use an Iterator to loop through the list.
While iterating, if you find "Banana", remove it safely using the Iterator.
Finally, print the updated list of fruits.