what does join() do?

  1. A thread gets a default priority

  2. cause the currently running thread to move back to runnable so that a thread of the same priority can have a chance.

  3. Guaranteed to cause the current thread to stop executing for at least the specified sleep duration

  4. Guaranteed to cause the current thread to stop executing until the thread it joins with completes


Correct Option: D

Find more quizzes: