Question
I want the answer as soon as possible
Download from D2L Content, Exams Section. CS145 Exam 1 Program Exercise.zip. It is an Eclipse Archive File. To import into Eclipse: File > Import > General (folder), Existing Projects into Workspace. Click Browse, locate the file you downloaded (zip file). Make sure the CS145Examl project is checked, click Finish. Implement the following class hierarchy, DO NOT change the AccountTransactions class. You are free to use any functionality in Eclipse to aid you in this task. Explanation of attributes name - Name of account holder balance - current dollar amount in account. Should be initialized in the constructor. annuallnterestRate - interest rate earned on an annual basis, to compute monthly interest amount, the balance should be multiplied by the annual interest rate divided by 12. insufficientFundsFee - a fee debited from an account whenever a withdrawal is made of an amount greater than the account balance. monthlyServiceFee - a fee debited from an account at the end of the month. Explanation of methods BankAccount, SavingsAccount, CheckingAccount - Constructors getBalance, getlnterestRate,getlnsufficientFundsFee - getter methods for respective private variables Deposit - transaction that will add the specified amount to the account. Return a string describing the deposit transaction Account interest is not computed on each deposit, see monthEnd(). Hint: You may want to use the String.format method on the dollar variables. withdrawal - transaction that will subtract the specified amount from the account. Return a string describing the deposit transaction. withdrawal (CheckingAccount) - same behavior as BankAccount withdrawal, but if the withdrawal causes the balance to go negative, it should levy a fee. toString - returns a string with the account owner's name and current balance. monthEnd (SavingsAccount) - should calculate earned interest for the month. This should be done based on the current balance at the time of the invocation of this method. monthEnd (CheckingAccount) - should assess the monthly service fee. REMEMBER, DO NOT CHANGE THE AccountTransactions.java file. Compile and run your program, you should get the following output:
Explanation / Answer
I'll need more than 16 min to finish this. Will post answer link in comment once done