Which of the following statements is false?
a. A common way to perform synchronization is to use Java’s built-in monitors.
b. Every object has a monitor and a monitor lock (or intrinsic lock).
c. A monitor ensures that its object’s monitor lock is held by a maximum of two threads at a time.
d. Monitors and monitor locks can be used to enforce mutual exclusion.
c. A monitor ensures that its object’s monitor lock is held by a maximum of two threads at a time. Actually, a monitor ensures that its object’s monitor lock is held by a maximum of only one thread at any time.
You might also like to view...
How do the Named buffers differ from the General-Purpose buffer?
What will be an ideal response?
A selection ____ is an outline that encloses an area to be selected.
A. chamber B. marquee C. stroke D. pasteboard
How do you add objects to the display stack?
What will be an ideal response?
Which SATA version supports transfer speeds up to 6 Gb/s?
A. Version 1 B. Version 2 C. Version 3 D. Version 3.2