现有: class Flow { public static void main(String [] args) try { System. out .print ("before") ; doRiskyThing ( ) ; System.out.print ("after ") ; } catch (Exception fe) { System.out.print ("catch") ; } System. out .println ( " done") ; } public static void doRiskyThing() throws Exception{ // this code returns unless it throws an Exception }} 可能会产生哪两项结果 ?()
Abefore catch
Bbefore after done
Cbefore catch done
Dbefore after catch
相关问题推荐
-
对于满足SQL92标准的SQL语句: select foo,count(foo)from pokes where foo>10group by foo having count (*)>5 order by foo 其执行顺序应该是()。
A、 FROM->WHERE->GROUP BY->HAVING->SELECT->ORDER BY
B、 FROM->GROUP BY->WHERE->HAVING->SELECT->ORDER BY
C、 FROM->WHERE->GROUP BY->HAVING->ORDER BY->SELECT
D、 FROM->WHERE->ORDER BY->GROUP BY->HAVING->SELECT
-
具有7个顶点的有向图至少应有多少条边才可能成为一个强连通图()。
A、6
B、7
C、8
D、12
-
以下列出的JBuilder可以产生的可执行程序中,哪个是错误的()
A、Linux
B、Mac OS
C、Windows
D、DOS
-
已知:那么,在哪种情况下可以访问x()
A、任意类
B、只有类C
C、只有类C的子类
D、包p中的类
-
已知:要想打印出in.txt的全部内容,需要在横线处填写()
A、read()
B、next()
C、readLine()
D、nextLine()