Oracle
1Z0-900 · Question #42
1Z0-900 Question #42: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #42. The question stem and answer options stay visible for context.
Use Concurrency API in Java EE 7 Applications
Question
How can you configure, in a portable way, the number of threads used by a ManagedExecutorService?
Options
- Aprogrammatically, using a ManagedExecutorService
- Busing the ManagedExecutors utility class to define the execution properties
- CThis cannot be done because this configuration is dependent on the Java EE Product Provider.
- Dconfiguring the thread pool info in the deployment descriptor
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#ManagedExecutorService#thread pool configuration#Concurrency API#portable configuration