the unique properties of a checking account.
More...
the unique properties of a checking account.
The majority of the properties are in the base class Account. This one of the two subclasses of Account. Savings implements the details of a savings account at our mythical bank.
Checking::Checking |
( |
unsigned |
accNo | ) |
|
|
inline |
virtual const char* Checking::type |
( |
| ) |
|
|
inlinevirtual |
type - return an indication of what type of Account the current object is
- Returns
- a string containing the name of the class
Reimplemented from Account.
bool Checking::withdrawal |
( |
double |
amount | ) |
|
|
virtual |
withdrawal - a withdrawal from checking account
A checking account differs from a standard account in that it charges 20 cents per withdrawal if the balance falls below $500.
- Parameters
-
- Returns
- bool true if the withdrawal works
Reimplemented from Account.
The documentation for this class was generated from the following file: