Fig | Class diagram of the ATM system (incorporating inheritance).