第1题:
A.a little
B.little
C.few
D.a few
第2题:
A.Theprogramrunsandprintsnothing.
B.Theprogramrunsandprints“Finally”.
C.Thecodecomiles.Butanexceptionisthrownatruntime.
D.Thecodewillnotcompilebecausethecatchblockismissing.
第3题:
A.Finally
B.Compilationfails.
C.Thecoderunswithnooutput.
D.Anexceptionisthrownatruntime.
第4题:
下面程序输出的结果是什么? ( ) public class Quiz2 { public static void main(String args[]) { try {throw new MyException(); }catch(Exception e) { System.out.println("It's caught!"); }finally{ System.out.println("It's finally caught!"); } } } class MyException extends Exception{}
A.It's finally caught!
B.It's caught!
C.It's caught!/It's finally caught!
D.无输出
第5题:
53 A necessarily B completely C.naturally D frequently
第6题:
在java中,惯用语捕获错误的语法try-catch-finally的下列描述正确的是()
第7题:
在JAVA中,关于捕获错误的语法try-catch-finally的下列描述正确的是()。
第8题:
在C#语言中,下列异常处理结构中有错误的是()。
第9题:
下面关于try、catch和finally语句块的组合使用,正确的是()
第10题:
try{,}
try{,}finally{,}
try{,}catch{,}finally{,}
try{,}catch{,}catch{,}
第11题:
第12题:
try-catch必须配对使用
try可以单独使用
try-finally可以配对使用,finally也可单独使用
在try-catch后如果定义了finally,则finally肯定会执行
第13题:
第14题:
A.Theprogramrunsandprintsnothing.
B.Theprogramrunsandprints“Finally”
C.Thecodecompiles,butanexceptionisthrownatruntime.
D.Thecodewillnotcompilebecausethecatchblockismissing.
第15题:
A.Theprogramrunsandprintsnothing.
B.Theprogramrunsandprints“Finally”
C.Thecodecompiles,butanexceptionisthrownatruntime.
D.Thecodewillnotcompilebecausethecatchblockismissing.
第16题:
14 try catch finally中 catch和finally的作用
第17题:
第18题:
public class foo { public static void main (stringargs) try {return;} finally {system.out.printIn(“Finally”);} } What is the result?()
第19题:
在try-catch-finally结构中,哪个说法不正确()
第20题:
在C#程序中〃下列用来处理异常的结构〃错误的是()。
第21题:
catch{}finally{}
try{}finally{}
try{}catch{}finally{}
try{}catch{}
第22题:
over
by
for
against
第23题:
catch{}finally{}
try{}finally{}
try{}catch{}finally{}
try{}catch{}