• 2022-06-08
    下面程序运行将会输出结果( )。try{String[] lines = new String[2];for(int i=0; iSystem.out.println(“The End”);}catch(NullPointerException e){System.out.printn(“***********”);}catch(ArrayIndexOutOfBoundsException e){System.out.println(“++++++”)}catch(Exception e){System.out.println(“==========”)}
    A: 00The End
    B: 00++++++
    C: ***********
    D: ***********++++++==========
  • 举一反三