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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started