While reviewing Java concurrency, reservation checks and writes must be exclusive. Which action fixes it, and which check proves it worked?
Answer options
- A. Verify two threads cannot reserve together
- B. Submit work to a bounded executor
- C. Combine their completion stages
- D. Guard both operations with one lock