You are required to write a Java program to simulate the operation of a bank ATM (cashpoint) system for payment and deposit on an account. In order to make the system fairly simple there is only one bank account and there are 5 cards that can be used to deposit or withdraw money from the account. The use of each card is to be simulated using a single Java thread calling deposit or withdraw methods on the bank account object.
Attachment:- assignment.docx