1.

Class JUnitMatchers extends _______________(a) java.lang.Object(b) java.lang.String(c) java.util.*(d) java.util.ArraysThe question was posed to me during an online exam.I would like to ask this question from Need for Unit Tests in section Software Testing Principles of JUnit

Answer» CORRECT answer is (a) java.lang.Object

The EXPLANATION: JUnitMatchers manipulates the default Java objects and thus, EXTENDS java.lang.Object.


Discussion

No Comment Found

Related InterviewSolutions