OOP = encapsulation + inheritance

  • How safe are changes in the inheritance hierarchy ?
Encapsulation -- dependencies (contracts) \n Data-abstraction -- behavior (operations)\n Objects -- external interface (escapes)

Inheritance {\rm - new category of clients}

  • What external interface is provided to children ?

slide: Encapsulation and inheritance