Object-Oriented Programming In C++: Constant Objects
Contents:
1. Constant Variables.
2. Constant Member Functions.
Constant Variables:
Making variables constant ensures their values are not accidentally changed. Just like the built-in data types (int, double, char, etc…), class objects can be made const by using the const keyword.- Read more about Object-Oriented Programming In C++: Constant Objects
- Log in or register to post comments
- 147 views