Class Diagram for the ATM System
Learn to create a class diagram for the ATM design using the bottom-up approach.
In this lesson, we’ll design the classes and then identify the relationship between classes according to the requirements for the ATM design problem.
Components of the ATM system
As mentioned earlier, we’ll design the class diagram for the ATM using a bottom-up approach.
User
The User
class models a bank customer who uses the ATM. It holds the user’s ATMCard
and associated BankAccount
and initiates ATM sessions and transactions.