GIAC
GSSP-JAVA · Question #236
GSSP-JAVA Question #236: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #236. The question stem and answer options stay visible for context.
Question
Mark writes a class Practice.java. This class needs to access the com.bar.Test class that is stored in the Test.jar file in the directory /practice. How would you compile your code?
Options
- Ajavac -classpath /practice/Test.jar Practice.java
- Bjavac -classpath /practice/ Practice.java
- Cjavac -classpath /practice/Test.jar/com/bar Practice.java
- Djavac -classpath /practice Practice.java
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.