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



Subscribe to Tutorials

Related Tutorials

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

Java program using Method Overriding

Archived Comments

1. Realy good one
View Tutorial          By: Sabir at 2011-10-25 12:08:43

2. Hi santhosh,
Try it ou

View Tutorial          By: Kiran at 2011-12-14 04:31:29

3. Good one
View Tutorial          By: Ravi at 2007-11-19 03:30:40

4. Hi,
I'm new one for android, i will devel

View Tutorial          By: Ragupathy at 2011-09-29 08:12:53

5. Thanks dude its really helpful. it clears my doubt
View Tutorial          By: Sriram at 2009-12-28 05:54:37

6. awesome. thanks for the info
View Tutorial          By: Darren at 2010-05-09 19:55:22

7. It'z to hard to study a computer programming.but i
View Tutorial          By: christine idio at 2009-10-20 02:06:58

8. thank you...
View Tutorial          By: Rojan at 2011-07-04 01:51:45

9. good example need some more explanation on notify
View Tutorial          By: prashant at 2009-09-08 19:29:54

10. some of the errors above e.g the jasper exception
View Tutorial          By: Robert at 2013-09-14 23:24:57