Embed presentation
Download to read offline















This document discusses different object-oriented programming principles for implementing a change request to allow ducks to fly. It first covers using inheritance to add a fly behavior to ducks. It then discusses using interfaces to define a fly behavior that can be implemented by different objects. A key principle is to separate the aspects that vary from what stays the same and to code to interfaces rather than implementations.













