News

Java 11 is getting long in the tooth, so many developers are moving to the next oldest version that's still supported, Java 17. Here's what's different.
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 ...
Get started with polymorphism in Java and how to do method invocation in polymorphic method calls.
Sealed classes in Java let developers limit the creation and use of subclasses and preserve the class hierarchy. Here is how sealed classes in Java work.
In previous posts I have touched on inheritance in Swift. In this post, I'm going to be diving deeper and giving you a fuller picture of how inheritance works in Swift, and how you can use it to ...
Why does Java's standard class library contain empty interfaces like Cloneable and Serializable? Find out why in this sixth installment in the "Object-oriented language basics" series. You'll also ...