【正文】
C. Mediator is known/referenced by the colleague objects, whereas Facade is not known by the subsystem classes D. Facade defines a simpler interface to a subsystem, it doesn39。)) { i++。)。 } public static void main(String[] args) { String str=”1234”。 ( Good+bye==Go+odbye )。1. Which of the following statements about JAVA language is correct? A. Constructor within class can not be ignored B. Constructor must have the same name with class, but method can’t C. Constructor can only be executed when creating a new object D. One class can only define one constructor 2. For JAVA language, which one Operator is VALID? A. amp。 ( (s+bye).intern()==Go+odbye )。 changeStr(str)。 foo(39。 foo(39。)。) amp。 } } A. 1234 B. wele C. 1234wele D. An exception is thrown at runtime. 9. If run the following JAVA application, the output should be: Public class Test2 { static boolean foo(char c) { (c)。c=0。 } } class DummyCat extends Cat { public void cry() { } } public class CatCry { public static void main(String args[]) { Cat mimi = new Cat()。 ()。 } while (a=0)。 for (foo(39。 foo