Description: Design a class named Account, which includes: int type private data field named id (default is 0) a double type double type called private account balance data field default value of 0) are called annualInterestRate private data fields to store the current annual interest rate (default is 0). Assuming that all accounts have the same interest rate.
Opening date of the Date type named dateCreated private data fields to store accounts.
One can create a default account no-argument constructora.
A constructor can create an account with a specific id and the initial balance of. id, balance and annualInterestRate accessors and modifiers. dateCreated accessor. A method called getMonthlyInterestRate monthly rate of return. A method called withDraw extract specific amount the account. A method called to deposit a specific amount of storage accounts.
To Search:
File list (Check if you may need any files):
Account类\ch8.java
Account类