Home »
MCQs »
JUnit MCQs
In the ____ annotation, the method is specified as a test method
10. In the ____ annotation, the method is specified as a test method.
- @Test
- @Before
- @Test(timeout=1000)
- @After
Answer: A) @Test
Explanation:
In the @Test annotation, the method is specified as a test method.