Interface ExecutorService provides the ________ method, which returns control to its caller either when all tasks executing in the ExecutorService complete or when the specified timeout elapses.

a. waitForTermination
b. wait
c. awaitTermination
d. None of the above.

c. awaitTermination

Computer Science & Information Technology

You might also like to view...

Which of the following are the two types of generic hubs used for connecting USB devices?

a. Battery-powered b. Bus-powered c. Solar-powered d. Self-powered

Computer Science & Information Technology

?The most common character encoding in use is _____.

A. ?UTF-8 B. ?ASCII C. ?Latin-1 D. ?ISO 8859-1

Computer Science & Information Technology