Computer Science, asked by Tanisha2847, 1 year ago

Which of the given options cannot directly cause a thread to stop executing? ( choose one ) calling the yield methodcalling the wait method on an objectcalling the notify method on an objectcalling the start method on another thread object?

Answers

Answered by Anonymous
2
Hey there!



So here are answer of your question!

Q. Which of the given options cannot directly cause a thread to stop executing?

Options -:

(A) Calling a yield method.
(B) Calling the start method on another thread object.
(C) Calling the notify method on an object. ✔
(D) Calling wait method on an object.


Your correct answer =>


Option (C). Calling the notify method on an object.✔


-----------------


Hope this helps you!
Similar questions