• 2021-04-14 问题

    public void test() { try { oneMethod(); Console.WriteLine("condition 1"); } catch (ArrayIndexOutOfBoundsException e) { Console.WriteLine ("condition 2"); } catch(Exception e) { Console.WriteLine ("condition 3"); } finally { Console.WriteLine ("finally"); } } 在oneMethod()方法运行正常的情况下将显示( )( 3 分)

    public void test() { try { oneMethod(); Console.WriteLine("condition 1"); } catch (ArrayIndexOutOfBoundsException e) { Console.WriteLine ("condition 2"); } catch(Exception e) { Console.WriteLine ("condition 3"); } finally { Console.WriteLine ("finally"); } } 在oneMethod()方法运行正常的情况下将显示( )( 3 分)

  • 1