1.

_____________ returns true if all tasks have completed following shut down.(a) submit(Callable task)(b) isTerminated(c) submit(Runnable task, T result)(d) invokeAll()The question was asked in final exam.Asked question is from Batching Tests topic in section Running JUnit Tests from Ant of JUnit

Answer»

The correct answer is (B) isTerminated

Explanation: isTerminated is NEVER true unless either shutdown or SHUTDOWNNOW was called first.



Discussion

No Comment Found

Related InterviewSolutions