- class LianXi2
 
 - {
 
 -         public static void func()
 
 -         {
 
 -                 try
 
 -                 {
 
 -                         show();
 
 -                         System.out.println("A");
 
 -                 }
 
 -                 catch(Exception e)
 
 -                 {
 
 -                         System.out.println("B");
 
 -                 }
 
 -         }
 
 -         public static void show() throws Exception
 
 -         {
 
 -                 throw new Exception();
 
 -         }
 
 -         public static void main(String[] args)
 
 -         {
 
 -                 try
 
 -                 {
 
 -                         func();
 
 -                         
 
 -                 }
 
 -                 catch(Exception e)
 
 -                 {
 
 -                         System.out.println("C");
 
 -                 }
 
 -                 System.out.println("D");
 
 -         }
 
 - }
 
  复制代码 
求解答:为什么不打印C呢? |   
        
 
    
    
    
     
 
 |