|
|
|
|
|
| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 29 Mar 2008 22:54:58 IST
|
|
|
1. the base class variable is in private section ....... we cannot use it in derived class since private members of a class are not inherited......
if the base class variable is in protected or public section we can use it in derived class........
2. it depends on the visibility mode......if the visibility mode is such that the base class variable is in the public setion of the derived class then the derived class object can use that variable.....
|
this reply: 0 points
(with 0 
in 0 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|
|
|
|
|
|