|
Posted by Sanders Kaufman on 07/23/07 21:33
Jerry Stuckle wrote:
> You can't change the base class method - by definition, it's part of the
> interface. But the variable is part of the implementation. In a proper
> design you can change the variable (and, of course, the BODY of
> functions which reference it) without changing the interface - and the
> child classes.
Speaking of named methods and overrides...
I just now realized that I had a TableName property in both my baseclass
and my extended class... accidentally overriding, right?
But... can I still have it in both places, calling the baseclass
property with one of those :: operators?
Or does the overriding kill that altogether?
Navigation:
[Reply to this message]
|