← Quiz: Java Multithreading: all 10 questions
Quiz: Java Multithreading · Question 4 of 10
What does join() do?
What does join() do?
- A.Merges two threads into one
- B.Waits until that thread finishes
- C.Starts the thread
- D.Locks an object
Answer & explanation
Correct answer: Waits until that thread finishes
The calling thread waits for the joined thread to terminate.
Can you get the rest right without peeking?
Take the timed Quiz: Java Multithreading quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →