A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()
AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
BThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
CThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
DThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
EThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.
FThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java
GThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java
相关问题推荐
-
分部工程验收时,各方分别签字的质量证明文件在验收后3天内,应由( )报送质量监督机构备案。
A、建设单位
B、监理单位
C、施工单位
D、设计单位
-
挪威杰出作曲家格里格创作的《培尔?金特》第一组曲中的第一首是:()
A、《在山妖的洞窟中》
B、《阿尼特拉舞曲》
C、《奥赛之死》
D、《晨景》
-
移动式操作平台的次梁,间距不应大于()。
A、35cm
B、40cm
C、45cm
D、50cm
-
在临床及实验室检查中,咀嚼运动正常的表现是( )。
A、开口速度逐渐加快
B、开口速度保持不变
C、闭口速度逐渐减慢
D、咬合接触时下颌运动不出现明显的瞬息停止
E、轨迹图形呈椭圆形
-
我zhǐ顾玩儿了,把老师留的作业全忘了。