Question: Please use starUML Task 2 -Class diagram Create a class diagram for a bank application according to the specification below. Also read the scenarios in
Please use starUML


Task 2 -Class diagram Create a class diagram for a bank application according to the specification below. Also read the scenarios in task 3, so that you also have those in mind when creating the class diagram. The bank has customers, and each customer can have one or more bank accounts. Each customer has at least one bank account. The bank offers two types of accounts. Saving account and Credit account. A savings account has account number, account type, balance, and interest rate. It shall be possible to perform transactions (deposit / withdraw), retrieve account number, calculate interest, and view the account information (account number, balance, account type, interest rate). A credit account has account number, account type, balance, and interest rate on the deposited money), and credit limit. The customer can deposit and withdraw money (if the balance does not exceed the credit limit). Each customer shall have a unique id number, name, and a list of the customer's bank accounts. Must at least include: 1. The following classes: account, saving account, credit account, customer, and bank 1. One abstract class, 2. Cardinality 3. Suitable methods and instance variables for all classes including access modifiers 4. Data types for all parameters (return and instance variables) Task 3 - Sequence diagram For the above bank system in task 2, create sequence diagram for each of the following scenarios Create a saving account for the customer Deposit money in savings account Withdraw money from credit account View all accounts for a customer Must at least include: 1. One sequence diagram for each of the four scenarios above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
