Home »
MCQs »
TestNG MCQs
This method is called before the class's first method is invoked using the @____ annotation
36. This method is called before the class's first method is invoked using the @____ annotation.
- BeforeSuite
- BeforeClass
- BeforeTest
- BeforeMethod
Answer: B) BeforeClass
Explanation:
This method is called before the class's first method is invoked using the @BeforeClass annotation.