1.

The _____________ exception can be thrown by the execute(Runnable command) function.(a) Arithmetic(b) ArrayIndexOutOfBounds(c) StringIndexOutOfBounds(d) RejectedExecutionExceptionThe question was asked in an interview for internship.Query is from Creating HTML Reports topic in division Running JUnit Tests from Ant of JUnit

Answer»

The correct answer is (d) REJECTEDEXECUTIONEXCEPTION

Explanation: RejectedExecutionException is thrown if the task cannot be ACCEPTED for EXECUTION.



Discussion

No Comment Found

Related InterviewSolutions