Home »
MCQs »
TestNG MCQs
Which of the following comes first in the hierarchy of TestNG Annotations?
42. Which of the following comes first in the hierarchy of TestNG Annotations?
- BeforeSuite
- BeforeClass
- BeforeTest
- BeforeMethod
Answer: A) BeforeSuite
Explanation:
BeforeSuite comes first in the hierarchy of TestNG Annotations.