Comment on Tutorial - Public versus Private members in C++ By Baski
Comment Added by : peter
Comment Added at : 2011-07-20 13:13:44
Comment on Tutorial : Public versus Private members in C++ By Baski
But is this (Accessor functions enable you to separate the details of how the data is stored from how it is used. This enables you to change how the data is stored without having to rewrite functions that use the data.) the only thing that we cannot refer to private member through a statement like this:
Boots.itsAge=5; // error! can't access private data!
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. I think this code is just simple enough to be foll
View Tutorial By: WAQ at 2010-11-24 10:41:58
4. thanks for giving the example of abstract class...
View Tutorial By: mahesh at 2010-04-11 08:20:45
6. can any body help me how to execute this code ....
View Tutorial By: nikhil at 2009-06-04 23:10:30
7. what about the remaining explanation......do anyth
View Tutorial By: raki at 2011-11-07 10:47:25
8. Works like a charm for me ! but i stuck with an is
View Tutorial By: santosh at 2014-12-17 12:44:09