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.

  1. Two
  2. Three
  3. Four
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.