Analyze BlockingQueue. In the image and likeness of the Producer class, create a Consumer class that will output data from a BlockingQueue to the console.
The world is boring for boring people
You must be signed in to leave a comment
17 February 2022, 12:15
Looks tough, but you're expected to google the BlockingQueue interface, and in doing so you will find that this entire task appears to be adapted from one of the search results, with an easy solution. Unlike a lot of "look it up" tasks I found this one to be pretty easy to understand.