labs / tiddlers / content / review / java_exercises /
@Mark George Mark George on 15 Jul 2021 388 bytes Add review exercises

Create a new class that represents the application. This class will contain the main method for the system.

  1. Add a main method to the class that creates 5 instances of your contact domain class (initialise the objects using dummy data), and adds them to an array.

  2. Add code to the main method that iterates through the array, printing each of the contacts in the console.