News

That’s ugly code, isn’t it? Imagine trying to maintain ... In this video, you can follow along while Rafael debugs and explains the Java polymorphism challenge: Rafael del Nero is a Java ...
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 ...