类ExampleA 继承Exception
类ExampleB 继承ExampleA
有如下代码片段 try{
throw new ExampleB("b");
}catch(Exception e){ System.out.println("exception");
}catch(ExampleA e){
System.out.println("exampleA");
}输出的内容是什么:?并解释一下,非常感谢各位!
类ExampleB 继承ExampleA
有如下代码片段 try{
throw new ExampleB("b");
}catch(Exception e){ System.out.println("exception");
}catch(ExampleA e){
System.out.println("exampleA");
}输出的内容是什么:?并解释一下,非常感谢各位!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货