is there a way to hide public member in a descendant class ? (eom)

 

is there a way to hide public member in a descendant class ?

 
Could you explain what exactly would you want to do (may be you have any examples) and what for?
 

See Inheritance:

In protected inheritance, public and protected members of base class become protected members of derived class. In private inheritance, the public and protected members of base class become private members of the derived class.

In protected and private inheritance, the relation that "the object of a derivative class is object of a base class" is not true. The protected and private inheritance types are rare, and each of them needs to be used carefully.