**Java Language only**
(Direction of code :Write a class named PhoneBookEntry that hasfields for a person’s name and phone number.
The class should have a constructor and appropriate accessor andmutator methods. Then
write a program that creates at least five PhoneBookEntry objectsand stores them in an
ArrayList. Use a loop to display the contents of each object in theArrayList.)
Instructions:Take this code ((make sure it works intextpad, currently showing error for two publicclasses!!)) and put detailed comments on it and auml diagram at the top of the code in comment form.
I Will Thumbs Up Thanks!!
import java.util.ArrayList;
import java.util.Scanner;
public class PhoneBookEntryTest {
public static void main(String[] args) {
ArrayList<PhoneBookEntry>
PayPal Gateway not configured
PayPal Gateway not configured