Thread:多线程 实现简单购票
摘要:
public class duoXiCheng extends Thread{ //继承Thread类 //定义一个票数的变量 static 静态的 公用的 票数 static int tickets = 100; // public duoXiCheng() { super(); // TODO 阅读全文
posted @ 2017-08-11 23:51 java羊羔 阅读(278) 评论(0) 推荐(0) 编辑