Write a Java program (non-GUI preferred) to demonstrate the use of Iterator.

Write a Java program (non-GUI preferred) to demonstrate the use of Iterator.

Write a Java program (non-GUI preferred) to demonstrate the use of Iterator. The program should allow a user to do the following:

Allow the reading of a collection of animal objects from an external file. (?)

Output on screen the content of a collection of animal objects. (?)

Use Iterator to achieve these goals.. (?)

Would like directions (steps to take), on how to achieve ( not simply the java codes) each of these steps.
Powered by