Javarevisited
Published in

Javarevisited

Dependency Inversion, Polymorphism, and How to Handle Unexpected Changes in Requirements

In this article, we’ll see how to react to unexpected features and changes in requirements.

Photo by Brad Starkey on Unsplash

1. Overview

In our previous article, we implemented a simple FizzBuzz application while focusing on the Open-Closed Principle and testability. Additionally, we used encapsulation and…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store