When using Java's built-in monitors, every object has a(n) ________ or a(n) ________ that the monitor ensures is held by a maximum of only one thread at any time.

a. monitor lock, intrinsic lock
b. built-in lock, free lock
c. mutual exlcusion lock, synchronization lock
d. None of the above.


a. monitor lock, intrinsic lock

Computer Science & Information Technology

You might also like to view...

What does the following program do?

``` // What does this program do? #include using namespace std; void someFunction( int [], int, int ); // function prototype int main() { const int arraySize = 10; int a[ arraySize ] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; cout << "The values in the array are:" << endl; someFunction( a, 0, arraySize ); cout << endl; } // end main // What does this function do? void someFunction( int b[], int current, int size ) { if ( current < size ) { someFunction( b, current + 1, size ); cout << b[ current ] << " "; } // end if } // end function someFunction ```

Computer Science & Information Technology

With a single field primary key design, each record in the table will contain only unique information in its primary key field

Indicate whether the statement is true or false

Computer Science & Information Technology

The term ____ is used to refer to the raw information processed by computers and is stored in digital form.

A. syntax B. data C. literal D. byte

Computer Science & Information Technology

?_____ is used to explore large amounts of data for hidden patterns to predict future trends.

A. ?Data governance B. ?Data mining C. ?Linear regression D. ?Drill down

Computer Science & Information Technology