Computer Science, asked by Rohinir7388, 1 year ago

Which two statements are true?

a. deadlock will not occur if wait()/notify() is used

b. a thread will resume execution as soon as its sleep duration expires.

c. synchronization can prevent two objects from being accessed by the same thread.

d. the wait() method is overloaded to accept a duration.

e. the notify() method is overloaded to accept a duration. f. both wait() and notify() must be called from a synchronized context?

Answers

Answered by vineat
6
I think a and c hope g help
Similar questions