1.

______ is used only to improve the readability of the statements.(a) anything(b) is(c) sameInstance(d) nullValueThis question was addressed to me in an interview.My question is taken from Hamcrest Matchers in portion Mastering JUnit of JUnit

Answer»

Right CHOICE is (B) is

The BEST explanation: The Is Hamcrest MATCHER does not add any more functionality other than improving READABILITY.



Discussion

No Comment Found

Related InterviewSolutions