//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 methodName() throws IOException
B.public void methodName() throw IOException
C.public void methodName()
D.public IOException methodName()
答案不对?请尝试站内搜索