Multiple Choice
Exactly when does a thread finish in Java?
A) When its main method ends.
B) When its run method ends.
C) When it calls the method await.
D) When it is interrupted.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: If a thread sleeps after acquiring a
Q24: What course of action should be followed
Q25: Suppose thread one is downloading a large
Q26: Which of the following scenarios may not
Q28: Under what conditions are locks unnecessary for
Q31: Given a single CPU and four threads,
Q32: Examine the SharedData class shown below. Suppose
Q33: Suppose thread one is downloading a 800KB
Q34: Stale data occurs in multi-CPU machines when
Q62: Each thread runs for a short amount