Sail E0 Webinar
Question
To run the file TestClass.class from the command line, we have to type what?
Options:
A .  java TestClass
B .  javac TestClass
C .  java org.junit.runner.JUnitCore TestClass
D .  org.junit.runner.JUnitCore TestClass
Answer: Option C


The test cases are executed using JUnitCore class which is referenced by "org.junit.runner.JUnitCore.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers