1 BankAccount java public class BankAccount Represents a bas

1. BankAccount java public class BankAccount Represents a basic bank account. finals: As mentioned above, declare and use in place of literal constants as needed. Fields: 3 private fields for the customer\'s name, account balance, and the interest rate (String, double, double and use correct naming conventions). 2 protected fields (driver program needs direct access) for myMonthlyWithdrawCount and myMonthlyServiceCharges (int, double). Methods: public BankAccount (final String theNameofowner, final double thelnterestRate) The constructor initializes the name and interest rate to the values of the passed parameters (taking care that the interest rate is a legitimate value) and sets the remaining fields to 0. public double getBalance() Returns the current balance

Solution

Solution:

/** BankAccount.java **/

 1. BankAccount java public class BankAccount Represents a basic bank account. finals: As mentioned above, declare and use in place of literal constants as need

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site