written 7.8 years ago by
krrish
• 350
|
modified 17 months ago
by
m6307292
• 30
|
Following is the Sequence diagram for Withdrawing amount from ATM.
It'll consists of 4 Classes and sequence of data Flow between the classes is showed in the diagram below.
The Four Classes are
- Customer
- ATM Machine
- Account
- Processing
The different methods used between classes are as follows
The following is the order of the methods used in the program.
- Request kind()
- Enter kind()
- Request Amount()
- Enter Amount()
- Process Transaction()
- Withdraw from Checking Account()
- Withdraw successful()
- Transaction Successful()
- Dispense Cash()
- Request Take cash()
- Take cash()
- Request continuation()
- Terminate()
- Print Recipt()