Question: Create UML Class Diagram based on the below info: (Please solve quickly, I will give good credit. Thank you) Classes: Bank ATM Customer Account Transaction

Create UML Class Diagram based on the below info: (Please solve quickly, I will give good credit. Thank you)

Classes:

Bank

ATM

Customer

Account

Transaction

Checking Account

Savings Account

A bank has a Location, Unique ID. Bank manages several accounts.

Association

Is a bank composed of accounts? (composition) Or accounts are part of a bank? (aggregation)

To be able to get accounts

An ATM has a location. An ATM is managed by a specific bank

ATM has three methods: withdrawal, deposit, check balance. These methods take card number as input.

Customer

A customer has

Name

Address

Date of birth

Card number

PIN (private)

Association

The customer must have an account (bi-directional)

A method

verifyPin()

Account

An account has

Number

Balance

Inheritance

Checking

Savings

Methods

deposit()

withdraw()

Transaction

A transaction has

ID

Date

Type

Amount

Post balance

Association

A transaction belongs to an account

An account can have many transactions

A method

modifies() [account]

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!