A C++ derived class can modify the access rights of a base class member, but only by restoring it to the rights in the base class.
It can't add or reduce access rights.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|