Savings Account #51234 for college Balance $5,000.ee, interest rate: 1.75% Checking Account #C2311 for bills Balance $8,
Posted: Fri May 20, 2022 11:52 am
In the main method of Banking:
RUNS WITH CORRECT OUTPUT
in java please!
Savings Account #51234 for college Balance $5,000.ee, interest rate: 1.75% Checking Account #C2311 for bills Balance $8,000.ee, # of transactions: Savings Account #52567 for new car Balance $2,000.ee, interest rate: 2.125% Deposited $1500.00 to 51234 Deposited $800.ee to C2311 Transferred $800.00 from £2567 to C2311 Paid $350 from checking for groceries, etc. C2311 balance is $8450.00 Savings account S1234 account earned $113.75 interest Deposited $113.75 to 51234 Savings account S2567 account earned $25.50 interest Deposited $25.50 to $2567 Enter checking account withdrawal amount 8850 C2311 balance is $-400.00 My ArrayList of accounts Savings Account #51234 for college Balance $6,613.75, interest rate: 1.75% Checking Account #C2311 for bills Balance $-400.00, # of transactions: 2 Savings Account #52567 for new car Balance $1,225.50, interest rate: 2.125% Output if attempted Checking accountwithdrawal is too large. Enter checking account withdrawal amount 10000 Denied. Insufficient funds! C2311 balance is $8450.00 My ArrayList of accounts Savings Account #s1234 for college Balance $6,613.75, interest rate: 1.75% Checking Account #C2311 for bills Balance $8,450.00, # of transactions: 1 Savings Account #S2567 for new car Balance $1,225.50, interest rate: 2.125%
<Java Class>> C Account chap 11 - purpose: String . number: String . balance: double Account(String, String, double) getPurpose():String getBalance().double setBalance(double):void getNumber(): String deposit(double):void withdraw(double):void o transfer(double, Account):void toString(): String <<Java Class>> Checking chap 11 FOVER_LIMIT: double transactions: int Checking(String, String, double) getTransactions():int withdraw(double):void toString(): String <<Java Class>> Savings chap 11 intRate: double Savings(String, String, double double) getIntRate():double setIntRate(double):void addinterest():void otoString(): String