producerconsumertest.java

来自「this is test program which tries to solv」· Java 代码 · 共 29 行

JAVA
29
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. *//** * * @author bits07a004 */public class ProducerConsumerTest {    /**     * @param args the command line arguments     */    public static void main(String[] args) {                CubbyHole cub = new CubbyHole();        Producer pro = new Producer( cub );        Consumer con = new Consumer( cub );                cub.start();        pro.start();        con.start();                // TODO code application logic here    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?