. Overload the constructor as follows:
- public Account (doubleinitBal, String owner, long number) – initializes the balance, owner, and account number as specified
- public Account (doubleinitBal, String owner) – initializes the balance and owner as specified; randomly generates the account number in range [10000, 19999].
- public Account (String owner) – initializes the owner as specified; sets the initial balance to 0 and randomly generates the account numberin range [20000,99999].
2. Overload thewithdrawmethod with one that also takes a fee and deducts that fee from the account.
FileTestAccount.javacontains a simple program that exercises these methods. Save it to your directory, study it to see what it does, and use it to test your modified Account class.
The post FileTestAccount.javacontains a simple program that exercises these methods. Save it to your directory, study it to see what it does, and use it to test your modified Account class appeared first on Best Custom Essay Writing Services | EssayBureau.com.