多选题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 fi

题目
多选题
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?()
A

The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.

B

The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..

C

The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.

D

The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.

E

The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.

F

The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java

G

The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java


相似考题
更多“多选题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 fi”相关问题
  • 第1题:

    You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()

    • A、 Use the ServiceBase class.
    • B、 Use the ServiceInstaller class.
    • C、 Use the ServiceManager class.
    • D、 Use the ServiceController class.

    正确答案:D

  • 第2题:

    Which declaration prevents creating a subclass of an outer class?()  

    • A、 Static class FooBar{}
    • B、 Private class FooBar{}
    • C、 Abstract public class FooBar{}
    • D、 Final public class FooBar{}
    • E、 Final abstract class FooBar{}

    正确答案:D

  • 第3题:

    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?() 

    • A、 Jar A
    • B、 Jar B
    • C、 Jar C
    • D、 Jar D
    • E、 Jar E

    正确答案:A

  • 第4题:

    You are creating a job class. You want access to the detailed information for all the runs of each job in the class and every operation performed on every job in the class. Which setting will you use for the LOGGING_LEVEL parameter?()

    • A、 LOGGING_OFF
    • B、 LOGGING_RUNS
    • C、 LOGGING_FULL
    • D、 LOGGING_NULL

    正确答案:C

  • 第5题:

    You work as the application developer at Hi-Tech.com. You create a new custom dictionary named MyDictionary. Choose the code segment which will ensure that MyDictionary is type safe?()

    • A、 Class MyDictionary Implements Dictionary (Of String,String)
    • B、 Class MyDictionary Inherits HashTable
    • C、 Class MyDictionary Implements IDictionary
    • D、 Class MyDictionary     End Class     Dim t as New Dictionary (Of String, String)     Dim dict As MyDIctionary= CType (t,MyDictionary)

    正确答案:A

  • 第6题:

    You work as an application developer at Certkiller .com. You have recently created a custom collection class named ShoppingList for a local supermarket. This custom class will include ShoppinItem objects that have the public properties listed below. * Name * AisleNumber * OnDiscount You are required to enable users of your class to iterate through the ShoppingList collection, and to list each product name and aisle number using the foreach statement.You need to achieve this by declaring the appropriate code.What code should you use?()

    • A、 public class ShoppingList : ICollection {// Class implementation }
    • B、 public class ShoppingList : IEnumerator, IEnumerable {// Class implementation }
    • C、 public class ShoppingList : Ilist {// Class implementation }
    • D、 public class ShoppingList : Enum {// Class implementation }

    正确答案:B

  • 第7题:

    单选题
    You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()
    A

     Use the ServiceBase class.

    B

     Use the ServiceInstaller class.

    C

     Use the ServiceManager class.

    D

     Use the ServiceController class.


    正确答案: D
    解析: 暂无解析

  • 第8题:

    多选题
    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?()
    A

    The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.

    B

    The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..

    C

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.

    D

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.

    E

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.

    F

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java


    正确答案: A,F
    解析: 暂无解析

  • 第9题:

    单选题
    You are creating a job class. You want access to the detailed information for all the runs of each job in the class and every operation performed on every job in the class. Which setting will you use for the LOGGING_LEVEL parameter?()
    A

     LOGGING_OFF

    B

     LOGGING_RUNS

    C

     LOGGING_FULL

    D

     LOGGING_NULL


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    You work as an application developer at Certkiller .com. You have recently created a custom collection class named ShoppingList for a local supermarket. This custom class will include ShoppinItem objects that have the public properties listed below. * Name * AisleNumber * OnDiscount You are required to enable users of your class to iterate through the ShoppingList collection, and to list each product name and aisle number using the foreach statement.You need to achieve this by declaring the appropriate code.What code should you use?()
    A

     public class ShoppingList : ICollection {// Class implementation }

    B

     public class ShoppingList : IEnumerator, IEnumerable {// Class implementation }

    C

     public class ShoppingList : Ilist {// Class implementation }

    D

     public class ShoppingList : Enum {// Class implementation }


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You decide to enable session state for the application. You need to determine whether the sessionID is maintained in the URL of the request.  What should you do?()
    A

    The RequestType property of the HttpRequest class should be accessed.

    B

    The IsCookieless property of the HttpSessionState class should be accessed.

    C

    The UrlDecode method of the HttpServerUtility class should be accessed.

    D

    The UrlEncode method of the HttpServerUtility class should be accessed.


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    Which declaration prevents creating a subclass of an outer class?()
    A

     Static class FooBar{}

    B

     Private class FooBar{}

    C

     Abstract public class FooBar{}

    D

     Final public class FooBar{}

    E

     Final abstract class FooBar{}


    正确答案: E
    解析: 暂无解析

  • 第13题:

    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?()

    • A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar
    • B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar
    • C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class
    • D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar
    • E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.java
    • F、The JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java

    正确答案:B,D,F

  • 第14题:

    In which two web application directories can dependent classes and libraries be located? ()

    • A、 /WEB-INF/lib as a JAR file
    • B、 /META-INF/lib as a JAR file
    • C、 /classes as compiled class files
    • D、 /WEB-INF/lib as compiled class files
    • E、 /WEB-INF/classes as compiled class files
    • F、 /META-INF/classes as compiled class files

    正确答案:A,E

  • 第15题:

    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?()

    • A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
    • B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
    • C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
    • D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
    • E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.
    • F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java
    • G、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java

    正确答案:B,D,G

  • 第16题:

    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?()

    • A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
    • B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
    • C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
    • D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
    • E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.
    • F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java

    正确答案:B,D,F

  • 第17题:

    You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()

    • A、 IDictionary
    • B、 IComparable
    • C、 IComparer
    • D、 IEqualityComparer

    正确答案:B

  • 第18题:

    单选题
    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?()
    A

     Jar A

    B

     Jar B

    C

     Jar C

    D

     Jar D

    E

     Jar E


    正确答案: B
    解析: 暂无解析

  • 第19题:

    多选题
    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?()
    A

    The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.

    B

    The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.

    C

    TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.

    D

    The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.

    E

    The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.

    F

    The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.


    正确答案: B,E
    解析: 暂无解析

  • 第20题:

    多选题
    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?()
    A

    The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.

    B

    The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..

    C

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.

    D

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.

    E

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.

    F

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java

    G

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java


    正确答案: F,A
    解析: 暂无解析

  • 第21题:

    多选题
    In which two web application directories can dependent classes and libraries be located? ()
    A

    /WEB-INF/lib as a JAR file

    B

    /META-INF/lib as a JAR file

    C

    /classes as compiled class files

    D

    /WEB-INF/lib as compiled class files

    E

    /WEB-INF/classes as compiled class files

    F

    /META-INF/classes as compiled class files


    正确答案: A,E
    解析: 暂无解析

  • 第22题:

    多选题
    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?()
    A

    The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar

    B

    The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar

    C

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class

    D

    The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar

    E

    The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.java

    F

    The JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java


    正确答案: A,D
    解析: 暂无解析

  • 第23题:

    单选题
    You work as the application developer at Hi-Tech.com. You create a new custom dictionary named MyDictionary. Choose the code segment which will ensure that MyDictionary is type safe?()
    A

     Class MyDictionary Implements Dictionary (Of String,String)

    B

     Class MyDictionary Inherits HashTable

    C

     Class MyDictionary Implements IDictionary

    D

     Class MyDictionary     End Class     Dim t as New Dictionary (Of String, String)     Dim dict As MyDIctionary= CType (t,MyDictionary)


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    You work as an application developer at Certkiller .com. You are developing a collection class named ClientCollection, which is to be used for storing the names of Certkiller .com’s clients that are situated in various geographical areas. These client names are represented by the Client class. You are planning to create a method named SortClients in the ClientCollection class to arrange Client objects in ascending order. You need to ensure that the appropriate interface is implemented by the Client class to allow sorting.What interface should be used?()
    A

     IDictionary

    B

     IComparable

    C

     IComparer

    D

     IEqualityComparer


    正确答案: D
    解析: 暂无解析