Question: In Java, program code that deals with creating different kinds of accounts: Account has name, date created, main email address, and a list of connections.

In Java, program code that deals with creating different kinds of accounts:

Account has name, date created, main email address, and a list of connections.

Individual Account is a specific kind of account that has list of accomplishments, list of skills, a notice, and education information. It can modify accomplishments, skills, and the notice, as well as add or delete the notice.

Community Account is another specific kind of account that has a list of topics of interest, a link to another website, and a current event. It can modify the current event and the other website link, as well as add or delete the current event.

Finally, Business Account is yet another specific kind of account that has a secondary email address, a list of jobs with their information (the title and info can be all one String), and max number of days for advertising the jobs. It should remove the job advertisement after the number of days have passed. It can modify the secondary email address and add, modify, or delete the list of jobs advertised.

Write the class AccountManager so that it has an ArrayList of 6 Account objects, 2 of each specific account types (Individual, Community and Business). AccountManager should provide all methods necessary to allow calling methods of Account objects by the Tester.

Tester class should:

1. create the AccountManager Object 2. create 6 objects of different kinds and have AccountManager add them to its list. Hard-coding the objects' information in the tester is welcome. 3. Print the information about all accounts through AccountManager's method. 4. Print a specific object's information given name of the account through AccountManager's method. All necessary methods for a proper class (get, set, toString) should be implemented in all classes as well as methods necessary for each class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!