L Lan Anh New member Sep 19, 2021 #1 Which of this method can be used to make the main thread to be executed last among all the threads? A. stop() B. sleep() C. join() D. call()
Which of this method can be used to make the main thread to be executed last among all the threads? A. stop() B. sleep() C. join() D. call()
Đ Đức Lưu New member Sep 19, 2021 #2 Answer: b Explanation: By calling sleep() within main(), with long enough delay to ensure that all child threads terminate prior to the main thread. Upvote 0 Downvote
Answer: b Explanation: By calling sleep() within main(), with long enough delay to ensure that all child threads terminate prior to the main thread.