An ExecutorService object is created by calling a static method of which class?
a. Executor.
b. Executors.
c. ExecutorService.
d. Thread.
b. Executors.
Computer Science & Information Technology
You might also like to view...
What is the output of the following code?
int *p1, *p2; p1 = new int; p2 = new int; *p1=11; *p2=0; p2=p1; cout << *p1 <<" " << *p2 << endl; a. 11 0 b. 0 11 c. 11 11 d. 0 0
Computer Science & Information Technology
When a thread executing a synchronized statement (or method) completes or satisfies the condition on which another thread may be waiting, it can call Object method ________ or ________ to allow a waiting thread or all waiting threads to transition to the runnable state again. a.
a. notifyThread, notifyAllThreads b. wakeUpThread, wakeUpAllThreads c. notify, notifyAll d. None of the above.
Computer Science & Information Technology