Question: The assignment does not require you to set constructors, getters and setters. Include screenshots of the successful code compilation and test execution. Create a couple

The assignment does not require you to set constructors, getters and setters. Include screenshots of the successful code compilation and test execution.

Create a couple of classes and use JUnit to test them

Make sure to note visibility on UML diagram. Comment out each step and list what goes into different files.

Purpose: The assignment will allow you to show that you understand how to read a UML class diagram and implement and unit test a basic class in Java.

Notes: 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 , , ,

The assignment does not require you to set constructors, getters and setters. The idea here is to get used to Java and use JUnit to test them.

The assignment does not require you to set constructors, getters and setters.

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!