Write a program with subclass interestaccount and cdaccount


Write a program with subclass InterestAccount and CDAccount. The driver program (Account.java) must perform following transactions:

1) Print the name of your bank and yours at the top.
2) Creat an Intrest Account for "Amazon" with PIN of 1234 and a starting balance of $100.
3) Creat a CD Account for "Ebay" with PIN pf 4321 and a statring balance of &1000.
4) Do three monthly updates, printing out the amount in each account.
5) Deposit $1000 in the Amazon's accounts.
6) Withdraw $500 from Ebay's accounts.
7) Do at least 10 times or more monthly updates, printing out the amounts in each account.

Program should be stores in Account.java, Acount types IntrestAccount.java and CDAccount.java.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program with subclass interestaccount and cdaccount
Reference No:- TGS0646701

Expected delivery within 24 Hours