Lab 2: Creating a Class
In this lab, you will start remembering how to write a program in Java.
A PhoneEntry class
Create a class called PhoneEntry. The class should have three private variables, firstName, lastName,
and phoneNumber. Create getter and setter methods for each variable. Create a single constructor that takes three
parameters and sets the three variables appropriately, and create a toString method that returns a string containing the
name and phone number for the object.
When you are complete, email your class file to me.