Open Closed Principle

Classes should be open to extension but closed to modification. * Open to extension allows a derrived class to provided additional behaviour over that of the base class. * Closed to modification precludes functionality can be added to a derrived class from modifying the base class.

http://www.objectmentor.com/resources/articles/ocp.pdf


oo_open_closed_principle.txt ยท Last modified: 2009/09/22 13:47 (external edit)