Suppose you want to run the following command line on a Windows system:
java -classpath somewhere;elsewhere mypkg.bbb.My
On a Unix system the command line would be:
java -classpath somewhere:elsewhere mypkg.bbb.My
Assume the CLASSPATH variable is not set. Which must be true in order for the application to run?
A, D.
Since the application class name is mypkg.bbb.My, it must declare that it is a member of package mypkg.bbb.
The class file must appear in a subdirectory named mypkg\bbb in one of the directories of the classpath.