 |
|
|
|
|
|
|
|
|
|
|
|
|
SVUG Community Forum
|
|
| Author |
Messages |
|
V VINAY
Posts:2
 |
| 11/10/2009 6:49 PM |
|
How can we access derived class variables from base class, for methods we can declare them as virtual but what about variables ?
|
|
|
|
|
MANISH
Posts:2
 |
| 07/24/2010 8:11 AM |
|
| I don't think you will have separate copies of same variables in parent and child classes. Derived class should contain the same set of variables of parent class, even if you don't declare them inside derived class. |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|

|
|
|
|
|
|
|
|
|
|
 |
|