Given:
How often does the submitted task run?
Given:
How often does the submitted task run?
The submitted task runs once. The code provided uses a ManagedExecutorService instance to submit a task, which is an instance of MyCallable. When using the submit method of an ExecutorService, the task is executed once unless specifically configured otherwise.
Correct B
Answer- B