O'Reilly logo
  • Roberto Orsini thinks this is interesting:

When inheritance is used carefully (some will say properly), all classes derived from an abstract class will share its interface. This implies that a subclass merely adds or overrides operations and does not hide operations of the parent class. All subclasses can then respond to the requests in the interface of this abstract class, making them all subtypes of the abstract class.

From

Cover of Design Patterns: Elements of Reusable Object-Oriented Software

Note

L'unico linguaggio che conosco che permette di nascondere delle operazioni di una classe base è C++ con l'ereditarietà privata.