Lab 4: Arrays

In this lab, you will practice using arrays.

A Phone Directory

Create a class called PhoneDirectory. The class should have a single instance variable that is an array of PhoneEntry where the PhoneEntry is the class you created for lab 2.

The constructor should initialize the PhoneEntry array to have 4 elements, and each element should initially be null.

Create the following methods for the PhoneDirectory class.

When you are finished, email your code to me.