Producer Consumer Problem with Blocking Queue
Producer Consumer problem is a popular problem domain in SE industry. Its hard find anyone who doesn’t have heard it. So in this post I will solve this producer consumer problem by using Blocking Queue in java. Before that I will give a quick introduction of Blocking Queue. Blocking Queue is an interface locate in java concurrent package.It mainly