MCQs > IT & Programming > Ruby > Statement 1: When a Ruby program terminates, all running threads are killed, regardless of their states. Statement 2: You can wait for a particular thread to finish by calling that thread's Thread#wait method.

Ruby MCQs

Read the following statements and select the correct option.

Statement 1: When a Ruby program terminates, all running threads are killed, regardless of their states.
Statement 2: You can wait for a particular thread to finish by calling that thread's Thread#wait method.


Answer

Correct Answer: Statement 1 is true, while Statement 2 is false.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it