What two thread condition methods can be used to release a lock? (choose two)

A. notify()
B. wait()
C. notifyAll()
D. release()


Answer:
B. wait()
D. release()

Computer Science & Information Technology

You might also like to view...

This is an isolated prototype, which is not connected to any other pages in the Web site. It is a local prototype.

What will be an ideal response?

Computer Science & Information Technology

How many bytes of memory are used in MS Visual C++ for the datatype double ?

A. 1 B. 4 C. 8 D. 2

Computer Science & Information Technology

Assume double[][][] x = new double[4][5][6], what are x.length, x[2].length, and x[0][0].length?

a. 4, 5, and 6 b. 6, 5, and 4 c. 5, 5, and 5 d. 4, 5, and 4

Computer Science & Information Technology

A ________ is a collection of related information that displays in a single row in a database

A) field B) table C) worksheet D) record

Computer Science & Information Technology