We are in need of a phone book which we can store individuals\u00e2\u20ac\u2122 first and last names, addresses, and phone numbers. Contacts should be sorted alphabetically.<\/p>\n
For the implementation, we will need a class for Contact objects. This Class will contain the attributes for the first and last name, address and phone number.<\/p>\n
A Second class will be your AddressBook Container class. This will have an aggregate relationship with the Contact class. This means it will have and maintain the sorted list of Contacts.<\/p>\n
The container class can be either a linked list or an array style list. If you choose to make an array style list, you should implement a binary search to find contacts.<\/p>\n
When the program starts it should open to a main menu with choices:<\/p>\n
If there is existing data, your list should populate from the list. When you change the list. The data file should be updated.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"
We are in need of a phone book which we can store individuals\u00e2\u20ac\u2122 first and last names, addresses, and phone numbers. Contacts should be sorted alphabetically. For the implementation, we will need a class for Contact objects. This Class will contain the attributes for the first and last name, address and phone number. A Second […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_joinchat":[]},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/posts\/12474"}],"collection":[{"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/comments?post=12474"}],"version-history":[{"count":0,"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/posts\/12474\/revisions"}],"wp:attachment":[{"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/media?parent=12474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/categories?post=12474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qualityassignments.net\/wp-json\/wp\/v2\/tags?post=12474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}