Parameters in C++
An Introduction for Java Programmers |
Prof. David Bernstein |
Computer Science Department |
bernstdh@jmu.edu |
const
Qualifiervoid Account::printout() const { cout << "Actual Balance: " << balance; balance = 0.00; // Generates a compile-time error }