Home » Java Programming » Threads

Which cannot directly cause a thread to stop executing?

Correct Answer: Calling notify() method on an object.

Explanation:

Option C is correct. notify() - wakes up a single thread that is waiting on this object's monitor.

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion