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
Very good.
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:
Cat Boots;
Boots.itsAge=5; // error! can't access private data!


View Tutorial



Related Tutorials

Java program to get location meta data from an image

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Archived Comments

1. im jst a begnr of it
and i hope it wl hlp m

View Tutorial          By: nitu at 2011-12-08 10:08:30

2. yes it is very good example for Abstract classes a
View Tutorial          By: obulreddy.G at 2010-07-13 22:52:41

3. Hi, I implemented those project in my NetBeans, cr
View Tutorial          By: Leshqo at 2008-11-14 07:09:13

4. this is really helpful example for Learning RMS in
View Tutorial          By: Ahmed Nawaz Mari at 2011-06-30 05:29:18

5. thanks buddy is's very nice and useful example
View Tutorial          By: mayur at 2012-11-05 05:00:11

6. Its very clearly explained.
View Tutorial          By: sowjanya at 2013-10-04 09:26:04

7. A good and useful tutorial for beginners.
t

View Tutorial          By: Hayk at 2010-01-12 10:55:15

8. I do, the necessaries changes to receive messages
View Tutorial          By: wodie at 2011-05-05 20:39:06

9. just remember to add
<uses-permission an

View Tutorial          By: Mouad at 2013-07-22 10:47:27

10. i want to know how to connect one page to another
View Tutorial          By: mahesh at 2009-08-26 01:31:40