C is correct. In order for B.java to compile, the compiler first needs to be able tofind B.java. Once it's found B.java it needs to find A.class. Because A.class is in thexcom package the compiler won't find A.class if it's invoked from the xcom directory.Remember that the -classpath isn't looking for B.java, it's looking for whateverclasses B.java needs (in this case A.class). A, B, and D are incorrect based on the above. E is incorrect because the compilercan't find B.java.