InterviewSolution
Saved Bookmarks
| 1. |
________ submits a value-returning task for execution and returns a Future representing the pending results of the task.(a) submit(Callable task)(b) awaitTermination(c) submit(Runnable task, T result)(d) invokeAll()I have been asked this question in an online interview.My question comes from Batching Tests topic in portion Running JUnit Tests from Ant of JUnit |
|
Answer» Correct option is (a) submit(Callable |
|