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 represents a user with an ATM card and a bank account.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.