A.不允許重復(fù)元素,元素?zé)o順序 B.不允許重復(fù)元素,元素有順序 C.允許重復(fù)元素,元素?zé)o順序 D.允許重復(fù)元素,元素有順序
public class TestA{ public void methodA() throws IOException{ //…… } } public class TestB extends TestA{ public void methodA() throws EOFException{ //…… } } public class TestC extends TestA{ public void methodA() throws Exception{ //…… } } 當(dāng)編譯類TestC的時(shí)候,結(jié)果是哪項(xiàng)?()
A. 正常 B. 編譯錯(cuò)誤 C. 運(yùn)行錯(cuò)誤 D. 以上都不對(duì)
public class TestApp{ public int mymethod(){ try{ int i = 0; int j = 1 / i; System.out.println(“1”); }finally{ System.out.print(“4”); } return 1; } } 上述程序運(yùn)行后的輸出是哪項(xiàng)?()
A. 4 B. 14 C. 41 D. 以上都不對(duì)