Question
Create in Java: A Menu class, which provides the programs user interfacecontains a main() method which creates a PhoneBook object, displays the PhoneBooks methods as
Create in Java: A Menu class, which provides the programs user interfacecontains a main() method which creates a PhoneBook object, displays the PhoneBooks methods as different menu selections and invokes the PhoneBook method the user selects.
Please provide comments with info explaining the method/class/values used so that I can understand.
Edit: The PhoneBook class, which represents the phone book. The class contains a hash table as a data field. This table contains the people in the book. The phone book contains the add, delete, find, change, quit, save and restore methods.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started