If you are khalil write a solution to his dilemma
Answers
Answered by
0
The notifyAll() method must be called from a synchronized context. To call wait(), an object must own the lock on the thread. The notify() method is defined in class java.lang.Thread. The notify() methodcauses a thread to immediately release its locks...
Read more on Brainly.in - https://brainly.in/question/3204029#readmore
Read more on Brainly.in - https://brainly.in/question/3204029#readmore
Answered by
3
✨A dilemma is a psychological confusion that arises when a person is stuck between two important situations that may require immediate decision. For example, suppose a mother needs to feed her triplets (three identical babies), but she can feed only two of them.✨
Similar questions