## 20.2.1 Example (cont.)

>     BankAccount::BankAccount(double balance)
>     {
>        this->balance = balance;
>           // Assign data field balance using parameter value
>        ::balance = balance;
>           // Assign global variable using parameter value
>     }

- `balance` member shadows the global
- C'tor's parameter shadows both the attribute and the global
- Don't need `orig_count`

prev |top |next