Comment on Tutorial - Public versus Private members in C++ By Baski



Comment Added by : JC

Comment Added at : 2013-04-16 01:49:52

Comment on Tutorial : Public versus Private members in C++ By Baski
In listing 6.2 I don't see the variable name itsAge in lines 9 or 10 or variable name itsWeight in lines 12 and 13. How does the accessor method correctly identify the member variables defined in lines 20 and 21? Is this a typo or massive ignorance on my part?

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. hi I am execute this code But message can't send <
View Tutorial          By: Sudhir Patil at 2011-02-01 10:28:28

2. Thanks a lot Ramlak! This is still very useful af
View Tutorial          By: Jacky at 2009-08-08 23:49:12

3. i have written above code but the values are not s
View Tutorial          By: varun at 2010-01-15 18:37:19

4. Very very nice example thank you
View Tutorial          By: Fabrice at 2010-12-03 03:36:18

5. Hi!
I would like to send a string from a j2

View Tutorial          By: beetlebrain at 2010-03-26 06:02:00

6. this is a very good artical about floating &
View Tutorial          By: Gayathri at 2012-10-31 12:19:28

7. CTRL+C then CTRL+V :P
Complete Reference ;)

View Tutorial          By: Rahul A at 2012-03-21 14:12:56

8. nice information, thanks dost.
View Tutorial          By: Bhargavi Menpara at 2013-02-12 08:11:23

9. very good for programing
View Tutorial          By: kiran at 2007-12-06 00:39:47

10. I think it is the best article for freshers.thanks
View Tutorial          By: srikanth at 2010-11-01 23:27:53