class Test {
public static void main(String args[])
{
Boolean expr = true;
if (expr)
{
System.out.println("true");
}
else
{
System.out.println("false");
}
}
}
编辑:
错误是java.lang.UnsupportedClassVersionError
最佳答案
Static
应使用小写:static
。
关于java - 为什么这个程序会导致运行时错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6660795/