Which statement BEST describes the Open/Closed Principle?
-
A
Classes should be open for modification and closed for extension
-
B
Software entities should be open for extension but closed for modification
-
C
Public methods should be open while private methods remain closed
-
D
Interfaces should be open to any implementation without restriction