What's new
  • Welcome to PHCorner forums. Take a moment to sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Java Help! assignment!

Black Kaiser

Addict
Joined
Sep 11, 2016
Messages
397
Reaction
110
1. Address Book Entry

Create a class that contains an address book entry and name it AddressBook. The table below describes the information that an address book entry has.

Attributes/Field // Description

Name // Name of the person in the address book

Address // Address of the person

Mobile Number // Mobile number of the person

Email Address // Email address of the person

The class definition should contain the following:

1. Attributes

2. Constructor

3. Accessors and mutators


2. Address Book Implementation

Create a class and name it AddressBookTest which will contain the main method for implementation of the AddressBook class methods from #1 of this activity. Instantiate an array of AddressBook objects of 100 entries. Create a menu that will implement the following methods:

Main Menu

1. Add Entry

2. Delete Entry

3. View All Entries

4. Update An Entry

5. Exit

The program should loop back to the main menu after implementing a method chosen by the user. Note that options 2, 3 and 4 should not be implemented if no entry has been added yet. The program ends at the Exit option.

--------------------------
nakapaginput palang ako at napalabas yung entry, wala pa yung main menu.
medyo beginner sorry :p
 

Online statistics

Members online
1,763
Guests online
1,910
Total visitors
3,673

Forum statistics

Threads
1,071,723
Messages
18,116,695
Members
1,516,015
Comments
1,082,012
Attachments
1,387,879
Profile posts
97,589
Top