1.

NullPointerException is thrown if tasks or any of its elements are null.(a) True(b) FalseThis question was posed to me in unit test.My question is based upon Batching Tests in section Running JUnit Tests from Ant of JUnit

Answer»

Correct ANSWER is (a) True

The BEST I can explain: If any of the tasks or elements are NULL, the methods THROWS a NullPointerException.



Discussion

No Comment Found

Related InterviewSolutions