这段代码,我发觉每次执行输出结果都不一样,怎么回事啊
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 % == ) { ()} } } }
sntatas
redstonesl
相关分类