1.

By default, a mock is thread safe.(a) True(b) FalseThe question was posed to me in class test.This intriguing question comes from Ant Targets, Projects, Properties and Tasks topic in section Running JUnit Tests from Ant of JUnit

Answer»

Correct ANSWER is (a) True

The explanation is: UNLESS NOT_THREAD_SAFE_BY_DEFAULT is set, a MOCK is THREAD SAFE.



Discussion

No Comment Found

Related InterviewSolutions