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...
The memory that is used to store programs and data while the computer is working is called ________
Fill in the blank(s) with correct word
The position of the lines of a paragraph relative to the page margins is the ________
A) indent B) line spacing C) orientation D) page layout
Which of the following is not true about earbuds?
A. They can be wired or wireless. B. They are always designed to fit over your ears. C. They often connect in the same jack where external speakers connect. D. They can damage your ears if you turn the volume up too loud.
What is a simple dialog-like message that displays for a second or so and then disappears?
a. A notification b. A pop-up c. A reminder d. A Toast