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) I
B) II
C) I and III
D) II and III
Correct Answer:
Verified
Q4: Which exception must be caught or declared
Q5: When a thread is interrupted, the most
Q8: Suppose run1 and run2 are objects of
Q8: Given a two-CPU machine and four threads,
Q11: If you do not use the Runnable
Q11: In which method are the tasks that
Q12: When a sleeping thread is interrupted, a(n)
Q15: To start a thread, you should first
Q16: The Runnable interface has a single method
Q17: The _ interface is designed to encapsulate
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