| Description |
Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s owner, the account number, and the account’s current balance. The interest rate for the account is stored as a constant. The constructor of the class should accept three parameters that are used to initialize the instance (i.e., object) data when an object is instantiated from this class. The other methods of this class should perform various services on the account (making deposits, withdrawals, adding interest to the account). These methods should examine the data passed into them to make sure the requested transaction is valid.\n\nThe Transactions1 class creates some bank accounts and requests various services. |