Question
Which of these method can be used to make the main thread to be executed last among all the threads?
Answer: Option B
Was this answer helpful ?
By calling sleep() within main(), with long enough delay to ensure that all child threads terminate prior to the main thread.
Was this answer helpful ?
More Questions on This Topic :
Question 10. Which of these class is used to make a thread? ....
Submit Solution