News

In Java, polymorphism results in code that is more concise and easier to maintain. This tutorial provides an overview of the four types of Java polymorphism, but our focus is subtype polymorphism.
It's not good enough to simply use inheritance and apply the rules of polymorphism to your code. To write SOLID code, and properly implement the Liskov substitution principle in Java, your code must ...