下面关于java.lang.Exception类的说法正确的是
继承自Throwable
Serialable
RuntimeException
checked exceptions
下面程序的运行结果是 String str1 = hello;String str2 = he + new String(llo);System.err.println(str1 == str2);
下面程序的运行结果public static void main(String args[]) {Thread t = new Thread() {public void run() {pong();}};t.run();System.out.print(ping);}static void pong() {System.out.print(pong);}
pingpong
pongping
pingpong和pongping都有可能
都不输出
System.out.println(5 + 2);的输出结果应该是