【简答题】以下程序执行后的输出结果是 class Program { static void Main(string[] args) { int[] a = {12,9,76,-90,23,100,87,32}; for (int i = 2; i < 4; i++) { int t; for (int j=i + 1; j <5; j++) { if (a[i] < a[j]) { t=a[i];...
【简答题】用适当的连词填空(单句语法填空,体验考向) 1. (2015· 北京, 28) You won't find paper cutting difficult long as you keep practicing it. 2. (2015· 北京, 32) the damage is done, it will take many years for the farmland to recover...
【单选题】 public class a { 2. public void method1() { 3. try { 4. B b=new b(); 5. b.method2(); 6. // more code here 7. } catch (TestException te) { 8. throw new RuntimeException(te); 9. } 10. } 11. }...
A.
Line 33 must be called within a try block.
B.
The exception thrown by method1 in class a is not required to be caught.
C.
The method declared on line 31 must be declared to throw a RuntimeException.
D.
On line 5 of class a, the call to method2 of class b does not need to be placed in a try/catch block.