For threads of equal priority, which is guaranteed by the thread scheduler that is part of the Java Virtual Machine?
i.All will get time on the CPU
II.All will get exactly equal time on the CPU
III.The order threads run in the CPU will always be the same
A) Only I
B) Only II
C) I and III
D) II and III
Correct Answer:
Verified
Q5: When a thread is interrupted, the most
Q6: When a sleeping thread is interrupted, an
Q7: Which of the following class declarations could
Q8: Given a two-CPU machine and four threads,
Q9: Which constructor can be used to create
Q11: In which method are the tasks that
Q12: When a sleeping thread is interrupted, a(n)
Q13: Each thread runs for a short amount
Q14: The _ method stops the current thread
Q15: To start a thread, you should first
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents