Java Problem

Just one programming problem.

  
Have the following classes in a file called ATM.java. ATM: CashDispenser, DepositUnit, ReceiptPrinter, CardReader, IOUnit and Atm. Note that only Atm class will be public in this file. The interfaces of these classes remain the same. 
Implement the following methods as follows:
readCard() of CardReader asks for the card number from the user, reads it and returns it.
handleTransaction() of ATM: 
a) Ask the user to enter the pin. Verify the pin via the verify() method of the bank. If the pin is verified, continue with the transaction. Allow user to enter the pin number up to three times. After the three trials, if the user cannot provide the correct pin, confiscate the card and finish the transaction. 
b) Now that BankServer methods will be implemented, handleTransaction should change accordingly. For example, after a deposit, it should print the total amount in the account. Also, before a withdraw, it should verify the availability of funds via the new BankServer method verifyBank().
Have the following classes in a file named BankServer.java. Account, SavingsAccount, CheckingAccount and BankServer where only BankServer is a public class. You will define Java classes for Account, SavingsAccount and CheckingAccount concepts. applyMonthlyInterest() will calculate the monthly interest and add it to the balance. Implement deposit() method in CheckingAccount class, lastDepositDate and lastDepositAmount fields are updated.
The existing public interface of the BankServer class remain the same. You need to introduce private loadAccounts() and public verifyFunds() methods. You should implement the methods as described below:
• loadAccounts() reads a input file that contains the account information and create
the account objects. A sample input file is shown below
S|11111|22221|3333|1000|2.2
C|11112|22222|3333|5000|102.5|2005|8|12|11|32
The first field is either an S for a savings account or a C for a checking account. The 
remaining fields for savings account are account id, customer id, pin, balance and
  interest rate. Other fields for checking account are account id, customer id, pin,
  balance, amount of last deposit, year, month, day, hour and minutes of the last deposit
date. loadAccount() should read this file and create account objects. Call this method
  in the constructor of BankServer with the name of the input file.
• verifyFunds() method, you will search for the account and if it exists make sure its
balance is greater than or equal to the amount. In all of the BankServer methods, use 
the account number that you read with readCard() method of the IOUnit class as the 
key for searching the accounts.
Implement all other necessary methods described in UML diagram as needed to
compile and run your program.
Create ManageBankAccounts.java and define a main function that creates a bank server 
object and an ATM object. Call the handleTransaction() method on the ATM object. 

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with MyhomeworkGeeks
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Business and administrative studies
excellent, got a 100
Customer 452773, May 17th, 2023
management
Did an excellent job once the instructions werre followed
Customer 452773, October 31st, 2024
English 101
great summery in terms of the time given. it lacks a bit of clarity but otherwise perfect.
Customer 452747, June 9th, 2021
Business and administrative studies
Excellent work ,always done early
Customer 452773, February 21st, 2023
Marketing
excellent work thank you
Customer 452773, October 15th, 2024
Criminal Justice
The paper was not accused of plagiarism and was written very well. I will let you know the grade once it is graded. Thank you
Customer 452671, April 26th, 2021
Nursing
I just need some minor alterations. Thanks.
Customer 452547, February 10th, 2021
BUSINESS LAW
excellent job made a 93
Customer 452773, March 22nd, 2023
Marketing
excellent work
Customer 452773, September 25th, 2024
Business and administrative studies
Excellent job
Customer 452773, March 17th, 2023
Humanities
Thank youuuu
Customer 452729, May 30th, 2021
Marketing
excellent work thank you
Customer 452773, September 19th, 2024
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Close

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • Dissertations and Thesis
  • Essays
  • All Assignments

  • Research papers
  • Terms Papers
  • Online Classes