Are you sure you're getting this? Click the correct answer from the options.
Which of the following is NOT true about locks and conditions in Java?
Click the option that best answers the question.
- Locks are used to control access to shared resources by multiple threads
- Conditions are used to manage the execution flow of threads within a lock
- Locks and conditions can only be used together
- Conditions allow threads to wait until a specific condition is met