1.

_____________ exception is thrown while invokeAll() is interrupted while waiting.(a) InterruptedException(b) NullPointerException(c) RejectedExecutionException(d) ArrayIndexOutOfBoundsExceptionThis question was posed to me at a job interview.Query is from Batching Tests topic in section Running JUnit Tests from Ant of JUnit

Answer»

Right choice is (a) InterruptedException

Explanation: If the EXCEPTION is THROWN, the unfinished TASKS are CANCELLED.



Discussion

No Comment Found

Related InterviewSolutions