Professional Documents
Culture Documents
Abstract Class
Abstract Class
Code: 16.
Exercise LOC:
Slot(s):
70
1
Title
Manage information of Contact program
Program Specifications
Write a program to manage information of Contact.
• A contact is abstract class and contains:
o attributes: name, phone Number.
o Abstract method: displayContactInfo;
• Contact is divided into 2 types of Person Contact and Business Contact.
• Person contact has additional email attribute, and Business Contact has additional company Name
attribute;
Requirements: The functions in the following menu must be performed
Menu:
1. Enter Personal Contact information.
2. Enter Business Contact information.
3. Display contact list
4. Exit