So, in other words, the classes are open for extension and closed for modification. This is a design principle known as the "Open Closed Principle (OCP)", which is one of the SOLID design principles. The SOLID design principles are covered in more detail in "Core Java Carteer Essentials"