P
Pankh
Hi,
Is it possible to restrict overiding a function in derived class?
To be more clear, I have base class with function foo() and I do not
want any derived class to implement foo() again. Always base version
of foo() should be called on any derived class object. Can I do that?
Thanks.
Is it possible to restrict overiding a function in derived class?
To be more clear, I have base class with function foo() and I do not
want any derived class to implement foo() again. Always base version
of foo() should be called on any derived class object. Can I do that?
Thanks.