Multiple Choice
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
Correct Answer:
Verified
Q3: The _ method is useful only if
Q23: a(n. _ uses a small number of
Q42: When a sleeping thread is interrupted, an
Q43: The Runnable interface includes which method(s)?<br>I public
Q44: Examine the SharedData class shown below. Suppose
Q45: Stale data occurs in multi-CPU machines when
Q48: Suppose that the class XYZ implements the
Q50: Which argument(s) present(s) the best case(s) for
Q51: Assume three threads share a BankAccount object
Q52: Which method(s) are part of the Thread