Yes, it did compile when the following statement was placed in the Account class:
System.out.println("Account Owner2 Balance with interest:" +
owner[1].add_monthly_interest());
Type: Posts; User: UM68
Yes, it did compile when the following statement was placed in the Account class:
System.out.println("Account Owner2 Balance with interest:" +
owner[1].add_monthly_interest());
I tried putting a add_monthly_interest() method in the Account class. Declared it public so it could be inherited by the SavingsAccount class. I tried to make it so the method does nothing in the...
I'm able to compile and run the program but I think it runs for the wrong reasons. The add_monthly_interest() method for calculating the balance with interest was suppose to take place in the...
System.println("Error. Balance not enough to cover withdraw.");
and
Getting "cannot find symbol" errors at 66 and 116. I don't see any spelling errors and the variables are declared, so not sure why I'm getting the errors.
This program prints out: current account...