Multiple Choice
A program that creates a large number of short-lived threads can be inefficient in memory and time.Which of the following can reduce the cost of using threads?
A) Thread pool
B) runnable object
C) await
D) Long-lived threads
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: lock objects ensure that shared data are
Q17: Which of the following scenarios may not
Q18: If you do not use the Runnable
Q19: Which constructor can be used to create
Q20: The _ method stops the current thread
Q22: If a thread sleeps after acquiring a
Q23: a(n. _ uses a small number of
Q24: Consider the addFirst method of the LinkedList
Q25: Assume two threads share a BankAccount object
Q26: The sleep method is terminated with a(n)