Testing / Junit Interview questions III
Can a Junit test method be declared as private?
No. Junit requires that all test methods must be declared as public.
Junit test method declared as private will compile without any issues however the execution will fail.
More Related questions...