Write a JAVA program that will maintain a phone directory using Classes, and Objects. The program should be able to perform the following operations: 1.Add persons details (first name, last name, phone number, city, address, sex and email) to the phone directory, where phone numbers in the directory have to be unique. (Note: each person record will store in Classes and Objects) 2.Update telephone number by providing person first name. 3.Display all details of persons from a phone directory. 4.Search telephone number based on person first name. (Note: use sequential search to find all telephones for the given first name) Project Outputs The output has to display a menu of choices. Then the user can select which operation want to perform. Also, you can use the method System.exit(0); to exit the program. The menu of choices will be: 1) Add person details into the telephone book. 2) Update a telephone number by providing person first name. 3) Display the entire telephone book. 4) Search a telephone number based on person first name.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Write a JAVA program that will maintain a phone directory using Classes, and Objects. The program
should be able to perform the following operations:
1.Add persons details (first name, last name, phone number, city, address, sex and email) to the phone
directory, where phone numbers in the directory have to be unique. (Note: each person record will store in
Classes and Objects)
2.Update telephone number by providing person first name.
3.Display all details of persons from a phone directory.
4.Search telephone number based on person first name. (Note: use sequential search to find all telephones
for the given first name)
Project Outputs
The output has to display a menu of choices. Then the user can select which operation want to perform.
Also, you can use the method System.exit(0); to exit the program. The menu of choices will be:
1) Add person details into the telephone book.
2) Update a telephone number by providing person first name.
3) Display the entire telephone book.
4) Search a telephone number based on person first name.
5) Exit the program. 

+
x Microsoft Edge
x 121 Lab Project 2(1).pdf
PDF
C:/Users/Dell/Desktop/121%20%20Lab%20Project%202(1).pdf | ilo O
Lab Project 2 - 121CCS - Semester II - Year 2021-2022
Telephone Book System
Project Description
A telephone book system, also known as a telephone directory, telephone address book, or Phone book, is
a listing of telephone subscribers in a geographical area or subscribers to services provided by the
organization that publishes the directory. Its purpose is to allow the telephone number of a subscriber
identified by name and address to be found.
Projeet Features
The features of telephone book system are mainly related to the addition, listing, searching, and modifying
telephone directory-related records. All these operations are done through Classes, Objects and Methods.
The information contained in the telephone directory records are the first name, last name, phone number,
city, address, sex and email of the person whose record is entered in the telephone directory system.
Project Operatious
Write a JAVA program that will maintain a phone directory using Classes, and Objects. The program
should be able to perfom the following operations:
1.Add persons details (first name, last name, phone number, city, address, sex and email) to the phone
directory, where phone numbers in the directory have to be unique. (Note: cach person record will store in
Classes and Objects)
2. Update telephone number by providing person first name.
3.Display all details of persons from a phone directory.
4.Scarch telephone number based on person first name. (Note: use sequential scarch to find all telephones
for the given first name)
Projeet Outputs
The output has to display a menu of choices. Then the user can select which operation want to perform.
Also, you can use the method System.exit(0); to exit the program. The menu of choices will be:
1) Add person details into the telephone book.
2) Update a telephone number by providing person first name.
3) Display the entire telephone book.
4) Scarch a telephone number based on person first name.
5) Exit the program.
Projeet instruetions
1) The total grade for the project is 5 marks.
2) Each student must implement the project individually without any participation with other students.
3) Your program has to be split into several appropriate methods to implement different operations.
4) You need to use descriptive variable names by using comments.
5) The style and readability of your program will also determine your grade, in addition to the
correctness of the program.
30°C
O 4)
ENG O A
N
مشمس
Transcribed Image Text:+ x Microsoft Edge x 121 Lab Project 2(1).pdf PDF C:/Users/Dell/Desktop/121%20%20Lab%20Project%202(1).pdf | ilo O Lab Project 2 - 121CCS - Semester II - Year 2021-2022 Telephone Book System Project Description A telephone book system, also known as a telephone directory, telephone address book, or Phone book, is a listing of telephone subscribers in a geographical area or subscribers to services provided by the organization that publishes the directory. Its purpose is to allow the telephone number of a subscriber identified by name and address to be found. Projeet Features The features of telephone book system are mainly related to the addition, listing, searching, and modifying telephone directory-related records. All these operations are done through Classes, Objects and Methods. The information contained in the telephone directory records are the first name, last name, phone number, city, address, sex and email of the person whose record is entered in the telephone directory system. Project Operatious Write a JAVA program that will maintain a phone directory using Classes, and Objects. The program should be able to perfom the following operations: 1.Add persons details (first name, last name, phone number, city, address, sex and email) to the phone directory, where phone numbers in the directory have to be unique. (Note: cach person record will store in Classes and Objects) 2. Update telephone number by providing person first name. 3.Display all details of persons from a phone directory. 4.Scarch telephone number based on person first name. (Note: use sequential scarch to find all telephones for the given first name) Projeet Outputs The output has to display a menu of choices. Then the user can select which operation want to perform. Also, you can use the method System.exit(0); to exit the program. The menu of choices will be: 1) Add person details into the telephone book. 2) Update a telephone number by providing person first name. 3) Display the entire telephone book. 4) Scarch a telephone number based on person first name. 5) Exit the program. Projeet instruetions 1) The total grade for the project is 5 marks. 2) Each student must implement the project individually without any participation with other students. 3) Your program has to be split into several appropriate methods to implement different operations. 4) You need to use descriptive variable names by using comments. 5) The style and readability of your program will also determine your grade, in addition to the correctness of the program. 30°C O 4) ENG O A N مشمس
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Adjacency Matrix
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education