public class J_Test {
public static void mb_createException()
{
throw new ArrayIndexOutOfBoundsException();
}

public static void mb_method()
{
try
{
mb_createException();
System.out.println("a");
}
catch(ArithmeticException e)
{
System.err.print("b");
}
finally
{
System.out.print("c");
}
System.out.print("d");
}

public static void main(String args[])
{
try
{
mb_method();
}
catch(Exception e)
{
System.err.print('m');
}
System.out.print('n');
}}
运行的结果有cmn、cnm、mcn,不知道还有没有其他的答案。为什么会出现这种情况,应该第一种情况才对。在两台机器上都试过。应该不是机子的问题了。。