- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 Runnable接口实现三个线程买票
public class Ticket implements Runnable{ private static int tick=100; //定义总票数 @Override //重写run方法 public void run() { while(true){ synchronized(this) { // 设置synchronized锁方法 i.
2021-09-10 19:05:22 141
原创 html表格隔行变色
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript"> window.onload = function(){ //1.获取表格 var wor = document.getElementById("biao");.
2021-09-02 19:25:21 1348
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人