ement an automatic teller system (ATM) using classes, arrays, arraylists, iteration, text files, and other topics of Java programming.
IN JAVA
Design and implement an automatic teller system (ATM) using
classes, arrays, arraylists, iteration, text files, and other topics of Java
Classes
• Account (account #, account type, customer ID, balance, date opened)
• Customer (customer ID, full name, address, phone, email, PIN)
• Transaction (account #, transaction type (D, W), transaction timestamp)
Data Files
• accounts.dat (10 records)
• customers.dat (5 records)
• transactions.dat (based on # of transactions)
Methods
• Login (PIN and customer ID)
• Deposit
• Withdrawal
• Transfer
• Display Balance
Validation:
• User gets three attempts to login or the program terminates.
• A user may not withdraw more than the balance.
• A transfer is two transactions (withdrawal – 1st
, then deposit)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps