Home »
MCQs »
TestNG MCQs
Java allows only one test to be defined in a single class in the main() method, while TestNG allows ____ tests in a single class
25. Java allows only one test to be defined in a single class in the main() method, while TestNG allows ____ tests in a single class.
- Two
- Three
- Four
- Multiple
Answer: D) Multiple
Explanation:
Java allows only one test to be defined in a single class in the main() method, while TestNG allows multiple tests in a single class.