OOP: Interfaces Ensure Consistent Behavior
Please see my other Object-Oriented Programming (OOP) articles. Apply Contracts Between Objects with Interfaces In this article I’ll demonstrate how to ensure consistent behavior when designing an application. I’m going to build an airport that only accepts types of craft which behave in a consistent manner. Also, when the airport is in operation, I want to ensure…