【正文】
t add new functionality, while Mediator routinely adds value, 18. Which design pattern is described by above picture: A. Chain of Responsibility B. Command C. MediatorD. Adapter 19. Suppose we use prototype pattern to create new objects from the existing objects, if the value of the new object is changed, then the value of the original existing object:A. Will not be changed B. Will be changedC. Will be partially changedD. Sometime will be changed, and sometime not 20. Which of following represents the relationship between system and user?A. Class diagramB. User caseC. Attribute.D. Status diagram. 。 }D39。 i++。)) { foo(39。amp。B39。)。 for (foo(39。 } return true。}}A. 1234B. weleC. 1234weleD. An exception is thrown at runtime. 9. If run the following JAVA application, the output should be: Public class Test2 {}public static void main(String[] args) { public static void changeStr(String str){what is c’s value? A. 0 B. 1 C. 2 D. Dead Loop 6. Which statement is CORRECT? A. The keyword abstract can be used for field, method and classB. Body part of abstract method