how will you protect a base class to override its member function in
derived class....

say if there is a function f() in base class then derived cannot
override f() to provide its own definition.....
The function must be accessible in derived class.

PS:dont try to make the function private in base class( it will be
become inaccessible in derived class).

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to