摘要:
范例:,三售票同时卖票 方式一:内部类继承Thread类 public class Demo2{ int ticket=100,count=0; boolean right=false; class MyThread extends Thread{ public void run() { while 阅读全文
摘要:
范例:,三售票同时卖票方式一:内部类继承Thread类public class Demo2{int ticket=100,count=0;boolean right=false;class MyThread extends Thread{public void run... 阅读全文