【正文】
11. How do you indicate where a ponent will be positioned using Flowlayout? A. North, South, East, West B. Assign a row/column grid reference C. Pass a X/Y percentage parameter to the add method D. Do nothing, the FlowLayout will position the ponent 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