Problem Statement
Which statement is true about BlockingQueue?
Explanation
Blocking queues coordinate producers and consumers. put waits for space; take waits for data. offer/add/remove have different, non-blocking behaviors and may fail or throw.
Practice Sets
This question appears in the following practice sets: