6. 下面程序的运行结果:()
- 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");
- }
复制代码A pingpong B pongping C pingpong和pongping都有可能 D 都不输出
|