单项选择题

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()