interface
Steps to add a new interface for several classes:
add an
“implements interfaceName” in each classadd the required methods for each class
What about abstract classes?
Two classes should extend the same abstract class –>
Place the abstract class high up in the type hierarchy after an ancestor of both classes –>
Great damage to the type hierarchy.