【正文】
foo(39。 } while (a=0)。 } } class DummyCat extends Cat { public void cry() { } } public class CatCry { public static void main(String args[]) { Cat mimi = new Cat()。 } } 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)。)。 foo(39。 ( (s+bye).intern()==Go+odbye )。 ( Good+bye==Go+odbye )。)。 } } } A. ABDCBDCB B. ABCDABCD C. ABCDBDCB D. An exception is thrown at runtime. 10. Please write some code to implement binary search algorithm( 二分查找算法 ) in JAVA language. public static int binarySearch(int[] a, int value) // search “value” in sorted array “a” by binary search algorithm, and return the index of the first match. Please take the search failure case into account. 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