classFlow{publicstaticvoidmain(String[]args){try{System.out.print("before");doRi

题目内容(请给出正确答案)

classFlow{publicstaticvoidmain(String[]args){try{System.out.print("before");doRiskyThing();System.out.print("after");}catch(Exceptionfe){System.out.print("catch");}System.out.println("done");}publicstaticvoiddoRiskyThing()throwsException{//thiscodereturnsunlessitthrowsanException}}可能会产生下面哪两项结果?()

A.before

B.beforecatch

C.beforeafterdone

D.beforecatchdone

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题