这段代码,我发觉每次执行输出结果都不一样,怎么回事啊Yield {
(String[] args) {
MyThread1 t1 = MyThread1()MyThread1 t2 = MyThread1()t1.start()t2.start()}
}
MyThread1 Thread {
(String s) {
(s)}
() {
(i = i < i++) {
System..println(getName() + + i)(i % == ) {
()}
}
}
}
添加回答
举报
0/150
提交
取消