Bootstrap

Java多线程实现龟兔赛跑

//实例化兔子
		Thread rabbit = new Thread(() -> {
   
		
			for (int i = 0; i <= 1000; i += 5) {
   
				
				if (i / 20 == 0) {
   
					try {
   
					Thread.sleep(500
;