How can you configure, in a portable way, the number of threads used by a ManagedExecutorService?
How can you configure, in a portable way, the number of threads used by a ManagedExecutorService?
To configure the number of threads used by a ManagedExecutorService in a portable way, you should configure the thread pool information in the deployment descriptor. This allows the configuration to be applied consistently regardless of the Java EE Product Provider being used.
D is correct answer
Should be answer D
not A. ManagedExecutorService doesn’t have method for configure number of threads it should be C or D
Answer D