- #include "BankAccount.h"
- __gc class CurrentAccount : public BankAccount
- {
- public:
- CurrentAccount(String * holder, double limit);
- ~CurrentAccount();
- void ChangeOverdraftLimit(double newLimit);
- String * ToString(); // Choose to override ToString
- bool CanDebit(double amount); // Obliged to override CanDebit
- private:
- double overdraftLimit;
- };