Question: public class Exercise11_03 { // Main method public static void main(String[] args) { // Create Account, SavingsAccount and Checking Account objects Account account = new
public class Exercise11_03 { // Main method public static void main(String[] args) { // Create Account, SavingsAccount and Checking Account objects Account account = new Account(1122, 20000); SavingsAccount savings = new SavingsAccount(1001, 20000); CheckingAccount checking = new CheckingAccount(1004, 20000, -20); // Set annual interest rate of 4.5% account.setAnnualInterestRate(4.5);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
