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
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!
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
Economy,
8 months ago
Social Sciences,
8 months ago
Computer Science,
1 year ago
Hindi,
1 year ago
English,
1 year ago