题目内容
(请给出正确答案)
[单选题]
Give incompleted method: //one {if(unsafe()){//do something…} else if(safe()){//do th
e other…} } The method unsafe() will throw an IOException, which completes the method of declaration when added at line one?
A.public void Name() throws IOException
B.public void Name() throw IOException
C.public void Name()
D.public IOException Name()
查看答案
如果结果不匹配,请 联系老师 获取答案