下面选项中存在语法错误的是( )。
选项:
A:try{throw new Exception();}catch(Exception e){}
B:try{int a = 10/0;}catch(Exception e){}
C:try{int a = 10/0;}catch(NullPointerException e){}catch(ArithmetricException e){}
D:try{int a = 10/0;}catch(Exception e){}catch(ArithmetricException e){}
发布时间:2024-06-13 10:48:06