单项选择题
A.Code block a.
B.Code block B.
C.Code block c.
D.Code block d.
E.Code block e.
单项选择题 What will be written to the standard output when the following program is run?() public class Qd803 { public static void main(String args[]) { String word = "restructure"; System.out.println(word.substring(2, 3)); } }
单项选择题 What is wrong with the following code?() class MyException extends Exception {} public class Qb4ab { public void foo() { try { bar(); } finally { baz(); } catch (MyException e) {} } public void bar() throws MyException { throw new MyException(); } public void baz() throws RuntimeException { throw new RuntimeException(); } }
多项选择题 Whichstatementsaretrueconcerningtheeffectofthe>>and>>>operators?()