Question: Instructions: Using the attached problem scenario and class diagram, implement the highlighted section in Java (the Check and Address class) and write a JUnit test

Instructions: Using the attached problem scenario and class diagram, implement the highlighted section in Java (the Check and Address class) and write a JUnit test for them; also implement a basic set of attributes and method(s).

Use JUnit to test them

Note: The VISIBILITY of classes matches UML class diagram. Also provide comments on what the code is doing.

Specifics

The Address class you are to implement this week has one method. Have that method return the following string , , City, State, ZIP OR , City, State, ZIP if the attribute is null.

The Check class has a getCheckInfo() method. Have it return , , ,

Instructions: Using the attached problem scenario and class diagram, implement the highlighted

Check Address accountID: IDString bankID: IDString number: positive integer payee: String amount: Money date: Date +street1: String + street2: String +city: String + state: Char(2) +ZIP: Char(5) +getMailingAddress) +getChecklnfol)

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!