In this lab we are going to be working on a class that uses another class. There is a fairly high chance that we will use this as a basis for project 4.
For this class, we're going to use what's called an Application Programmer Interface or API. The API details what the class is to do. You read description for each method and make sure that you know what the class is to do. Lab 7 API describes the classes.
All we are doing in this lab is using the Address from Lab 6. Then in the Address book, you make an array of the Addresses. For add, just add the address at the end. For addressAt, make sure the index is correct before you use it.