/** * 礼让线程 Thread.yield(); //礼让 * 礼让不一定成功 */ public class TestYied { public static void main(String[] args) { MyYied myYied