Access specifier while overriding methods

Posted by Pradyot on Stack Overflow See other posts from Stack Overflow or by Pradyot
Published on 2010-04-19T22:54:57Z Indexed on 2010/04/19 23:03 UTC
Read the original article Hit count: 208

Filed under:
|

Assume you have a class that defines virtual methods with the access specifier public. Can you change the access specifier on your overriden methods? I am assuming no. Looking for an explanation.

© Stack Overflow or respective owner

Related posts about c++

Related posts about overriding