Java
Java copied to clipboard
Threads implementation consumer,producer
I could add a mini project with four Algorithms ,which is a problem of real life
where one # consumer communicate with a # producer for products through one cubbyhole class
the project will have 4 classes and will implemented in java:
- class Consumer.java which extend Thread 2)class Producer.java which extend Thread
- class Cubbyhole.java through which the two above classes will communicate
- the ProducerConsumerTest.java (the main class)
@stomaras I would suggest rather than going for a project implementation, you can go for an algorithm implementation using the Thread class.The repository's main aim is to keep clean and clear implementations of standard algorithms which can be beneficial to users.
done