Write a Java program (non-GUI i.e. Java class) 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.
Include a brief documentation (using java comments in the code) and screen shot of output of the program.
All Individual (programming) assignments require students to submit code zipped, code with java comments, screen shot of build output and screen shot of non-GUI output in Net Beans environment
All code must we written to generate output in non-GUI application (Java-Java Application). Do not use forms in your Java Application for PRG/421 course. Use only Java class in your project.