[置顶] 多线程_先产后销_运行结果有BUG
摘要:
class Shop{ public static void main(String[] args) { Things t=new Things(); Custom c=new Custom(t); Producer p=new Producer(t); p.start(); c.start(); }}class Producer extends Thread{ private Things t; public Producer(Things t)//和customer传入的是... 阅读全文
浙公网安备 33010602011771号