Question: Using java in Eclipse, and Junit Test. The contact service uses in-memory data structures to support storing contacts (no database required). In addition, there is

Using java in Eclipse, and Junit Test. The contact service uses in-memory data structures to support storing contacts (no database required). In addition, there is no user interface for this. You will verify the contact service through JUnit tests. The contact service contains a contact object along with the contact service. The requirements are outlined below.

Please need help with new code for

a.) ContactService.java

b.) ContactServiceTest.java ( Should be able to Test ContactService.java using Junit )

1.) Contact Service Requirements

The contact service shall be able to add contacts with a unique ID.

The contact service shall be able to delete contacts per contact ID.

The contact service shall be able to update contact fields per contact ID. The following fields are updatable:

firstName

lastName

Number

Address

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!