put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar
Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar
第1题:
在J2EE的Web应用中,编译后的class文件存放的目录为()
第2题:
Which the two are true regarding a web application class loader?()
第3题:
运行jar文件中class文件需要在java命令后面加的参数为()。
第4题:
In which two web application directories can dependent classes and libraries be located? ()
第5题:
In which two locations can library dependencies be defined for a web application? ()
第6题:
Jar A
Jar B
Jar C
Jar D
Jar E
第7题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java
第8题:
/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
第9题:
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
第10题:
-cp
-g
-d
-verbose
第11题:
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar
第12题:
public void foo() { }
public int foo() { return 3; }
public Two foo() { return this; }
public One foo() { return this; }
public Object foo() { return this; }
第13题:
A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()
第14题:
在WEB-INF目录下,必须存放的文件为:()
第15题:
Given a correctly compiled class whose source code is: package com.sun.sjcp; public class Commander { public static void main(String[] args) { // more code here } } Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?()
第16题:
Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?()
第17题:
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 Bookclass?()
第18题:
The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.
The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.
TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.
The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.
The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.
第19题:
A web application may override the web container’s implementation classes
A web application running in a J2EE product may override classes in the javax.* namespace
A web application class loader may NOT override any classes in the java.* and javax.* namespace
Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource
Resources in the WAR class directory or in any of the JAR files within the library directory cannot be accessed using the J2SE semantics of getResource
第20题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java
第21题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.java
The JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java
第22题:
java Commander
java com. sim. sjcp.Commander
java com/sun/sjcp/Commander
java -cp com.sun.sjcp Commander
java -cp com/sun/sjcp Commander
第23题:
add public to the start of line 4 in Salmon.java
add public to the start of line 4 in GrizzlyBear.java
add import animals.mammals.*;at line 2 in Salmon.java
add import animals.fish.*at line 2 in GrizzlyBear.java
add import animals.fish.Salmon.*;at line 2 in GrizzlyBear.java
add import animals.mammals.GrizzlyBear.*;at line 2 in Salmon.java
第24题:
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java