Question OOP-SOLID-0023
EasyWhat does the Open/Closed Principle say?
- A.
Classes should be public
- B.
Files should be opened and closed properly
- C.
Show answer and explanation
Answer: C
New behaviour should be added by adding code, not by editing tested code.