1.

____________ returns whether this executor is idle.(a) runUntilIdle(b) runPendingCommands(c) execute(d) isIdleThe question was posed to me by my school teacher while I was bunking the class.My question is based upon Creating HTML Reports in chapter Running JUnit Tests from Ant of JUnit

Answer» RIGHT ANSWER is (d) isIdle

The BEST I can explain: isIdle() function checks that there are no pending background tasks waiting to be RUN.


Discussion

No Comment Found

Related InterviewSolutions