Possible Duplicate:
The Open/Closed Principle
I can understand that Open/Close principle suggests that
"You should be able to extend the class behaviour, without modifying it"
What does here open and close mean?
Possible Duplicate:
The Open/Closed Principle
I can understand that Open/Close principle suggests that
"You should be able to extend the class behaviour, without modifying it"
What does here open and close mean?
Open to extension.
Closed against update/change/modification.
http://en.wikipedia.org/wiki/Open/closed_principle
It's pretty clear in the wikipedia article.