You want to execute a class named My.class in the package whiz.utilities.myapp. The path to that directory is
Which command would you use to run the class?
A. java -classpath . /java/MyPackages/whiz/utilities/myapp My B. java -classpath /java/MyPackages whiz.utilities.myapp.My C. java -classpath . java.MyPackages.whiz.utilities.myapp.My D. java -classpath ./java/MyPackages/whiz/utilities/myapp/My
Am I right to say the answer is B? You can't have a dot without the separator colon( right after it.