Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. Identify conflict triggers in yourself and others

Answered: 1 week ago