5.6. Common Functionality among Disparate Classes

Below is a video that demonstrates how to use interfaces to write code involving disparate classes with common functionality that is clean, easier to read, and easier to modify. Here, we use the term disparate to describe classes that are dissimilar in what they describe but still, perhaps, share some common functionality.

https://www.youtube.com/watch?v=kcBV6tlg44I

The source code for the video can be accessed here.

IMAGE ALT TEXT