// {...}
public class Main {
public static void main(String args[]) throws Exception {
new Thread(new Producer(), "produce").start();
new Thread(new Consumer(), "consume").start();
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX