1.

Which of the following annotation is used to avoid execution of Junits?(a) @NoTest(b) @explicit(c) @avoid(d) @ignoreI had been asked this question by my college professor while I was bunking the class.This intriguing question originated from Annotations in portion Application Lifecycle & Annotations of Java

Answer»

The correct OPTION is (d) @IGNORE

For explanation I WOULD say: @ignore ANNOTATION is used to avoid execution of JUNITS.



Discussion

No Comment Found

Related InterviewSolutions