**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.)
Mandatory Instructions:Take this code ((make sure itworks in textpad, 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!!
Example of a uml diagram that has to be on
PayPal Gateway not configured
PayPal Gateway not configured