Chat with us, powered by LiveChat Just one programming problem.  Have the following classes in a - Writeedu

Just one programming problem.  Have the following classes in a

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 createthe account objects. A sample input file is shown belowS|11111|22221|3333|1000|2.2C|11112|22222|3333|5000|102.5|2005|8|12|11|32The 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 depositdate. 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 itsbalance 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 tocompile 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.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

Do you need help with this question?

Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.

WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.

With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.

Chat with us today! We are always waiting to answer all your questions.

Click here to Place your Order Now