下列程序的运行结果?
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");
}
发布于 2020-12-25 22:07:35
登录后免费查看答案
关注者
0
被浏览
76