Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program to create a room class, the attributes of this class is roomno, roomtype, roomarea and ACmachine. In this class the

 

1. Write a program to create a room class, the attributes of this class is roomno, roomtype, roomarea and ACmachine. In this class the member functions are setdata and displaydata. 2. Address Book Entry. Your task is to create a class that contains an address book entry. The following table describes the information that an adressbook entry has. Attributes/Properties Description Name Address Telephone Number Email Address Name of the person in the addressbook Telephone number of the person Address of the person Person's Email address a. Provide the necessary accessor and mutator methods for all the attributes. b. Constructors 3. AddressBook. Create a class address book that can contain 100 entries of AddressBookEntry objects (use the class you created in the first exercise). You should provide the following methods for the address book. a. Add entry b. Delete entry c. View all entries d. Update an entry

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Java How To Program Late Objects Version

Authors: Paul Deitel, Deitel & Associates

8th Edition

0136123716, 9780136123712

More Books

Students also viewed these Programming questions

Question

Explain the relationship between thoughts, feelings, and actions.

Answered: 1 week ago