Home » JAVA Programming » Java Basic » Question
  1. Which one of the following is not an annotation used by Junit with Junit4?
    1. @Ignored
    2. @AfterClass
    3. @BeforeClass
    4. @Test
    5. None of these
Correct Option: A

@Test, @Before, @BeforeClass, @After, @AfterClass and @Ignores are the annotations used by Junit with Junit4.



Your comments will be displayed only after manual approval.