Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

=+2 How does the preparation and support for each type of IE vary?

Answered: 1 week ago

Question

=+What is the extent of the use of each type of IE?

Answered: 1 week ago