While reviewing Java concurrency, concurrent increments lose values. Which action fixes it, and which check proves it worked?
Answer options
- A. Use an atomic increment
- B. Verify every concurrent update is counted
- C. Guard both operations with one lock
- D. Submit work to a bounded executor