Inheritance and Name hiding
It seems like no body seems to be interested in answering my questions.. nonetheless I shall give it one more try.....
With regards to name hiding.. I have found that it is possible to hide an existing member in the base, simply by redeclaring it in the derived class preceeded by the keyweord 'new'.
I think I understand what it does, but on the other hand I don't see the difference between this and overriding a function.
Instead hiding the member wouldn't redefining it acheive the same thing!?
Some body please answermy question!!
thanx
|