Question: For the following Problem Statement (Pages 1 & 2): Create all the java classes as well as the java JUnit Tests A class diagram models
For the following Problem Statement (Pages 1 & 2): Create all the java classes as well as the java JUnit Tests


A class diagram models the static view of a system. It comprises of the classes, interfaces, and collaborations of a system; and the relationships between them Let us consider a simplified Banking System You are to build a Banking system. Bank can have multiple accounts. An account may be either a savings account or a current account. A customer may open both a savings account and a current account. However, a customer must not have more than one savings account or current account The following figure shows the corresponding class diagranm Main) Classes in the system: Bank Bank, Account, Savings Account, Current Account, and Customer Name Address Relationships: A Bank "has-a" number of accounts: aggregation, one-to-many cint BankReports From the class Account, two classes have inherited, namely, Savings Accou and Current Account. Account .A Customer can have one Current Account: association, one-to-onee Acc No Balance A Customer can have one Savings Account: association, one-to-one Savings Account Min Balance Interest Rate 0..1 0..1 Cust JD Name Address Phone Page1 A class diagram models the static view of a system. It comprises of the classes, interfaces, and collaborations of a system; and the relationships between them Let us consider a simplified Banking System You are to build a Banking system. Bank can have multiple accounts. An account may be either a savings account or a current account. A customer may open both a savings account and a current account. However, a customer must not have more than one savings account or current account The following figure shows the corresponding class diagranm Main) Classes in the system: Bank Bank, Account, Savings Account, Current Account, and Customer Name Address Relationships: A Bank "has-a" number of accounts: aggregation, one-to-many cint BankReports From the class Account, two classes have inherited, namely, Savings Accou and Current Account. Account .A Customer can have one Current Account: association, one-to-onee Acc No Balance A Customer can have one Savings Account: association, one-to-one Savings Account Min Balance Interest Rate 0..1 0..1 Cust JD Name Address Phone Page1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
