电子科技大学 / JAVA程序设计
正确率:100%
Give incompleted method: //one {if(unsafe()){//do something…} else if(safe()){//do the 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()
参考答案: