• 2022-06-08
    阅读以下程序class Test{static void F(){try{G();}Catch(Exception e){Console.Write(e.Message);e = new Exception(“F”);throw;}}static void G(){throw new Exception(“G”);}static void Main(){try{F();}catch(Exception e){Console.Write (e.Message);}}}以上程序运行的结果是()
    A: F F
    B: F G
    C: G G
    D: G F
  • 举一反三