Question

Which of the following design patterns violates the Open/Closed Principle of SOLID principles in object-oriented design? 

A Strategy Pattern
B Singleton Pattern
C Factory Method Pattern
D Decorator Pattern
E Adapter Pattern
Practice Next

Relevant for Exams:

Hey! Ask a query