Introduction to OOP Chapter 2: Abstraction : next previous audio real text

Encapsulation and Interchangeability

An important aspect of division into parts is to clearly characterize the connection, or interface, between to components.

Allows for considering multiple different implementations of the same interface.

For example, a car can have several different types of engine and one transmission.

Intro OOP, Chapter 2, Slide 17