Multiple choice technology testing

Test method must not have any parameter (Arguments).

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

JUnit test methods cannot accept parameters because the framework invokes them using a no-arg constructor reflection mechanism. Parameters would prevent the framework from instantiating and calling the test method.