class Demo
{
public static void func()
{
try
{
throw new Exception();
System.out.println("a");
}
catch (Exception e)
{
System.out.println("b");
}
}
public static void main(String[] args)
{
try
{
func();
}
catch (Exception e)
{
System.out.println("c");
}
System.out.println("d");
}
}
请教各位高手,这段代码问题出在哪里,知道的请详细解答一下,感谢! |
|