Which two statements are true Deadlock will not occur if wait()/notify() is used A thread will resume execution as soon as its sleep duration expires Synchronization can prevent two objects from being accessed by the same thread The wait() method is overloaded to accept a duration The notify() method is overloaded to accept a duration Both wait() and notify() must be called from a synchronized context

Comments and Answers (2)

Deeksha

Deeksha

anyone have any solutions

Binod

Binod

please give any soltion

Avatar

{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}

{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}