【正文】
12. For factory pattern, which one of below is INCORRECT: A. Factory pattern reduces the coupling or the dependencies between the calling code and called objects B. We can not use the singleton pattern within our factory pattern code C. The factory design pattern instantiates a class in a more flexible way than directly calling the constructor D. Abstract Factory classes are often implemented with Factory Methods, but they can also be implemented using Prototype 13. What does “openclosed” OOD principle mean: A. open for modifications, closed for extension B. open for extension, closed for modifications C. open for inheritance, closed for extension D. open for extension, closed to inheritance 14. “Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it” Which OOD principle is the above description: A. SRP (Single Responsibility Principle) B. LSP (Liskov Substitution Principle ) C. ISP (Interface Segregation Principle) D. OCP (OpenClosed Principle) 15. “Only municate with your direct friends” “Do not speak with foreigners” For which OOD principle is the above popular description? A. DIP (Dependency