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 locat

题目

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.


相似考题
更多“A developer is creating a class Book that needs to access class Paper.The Paper class is d ”相关问题
  • 第1题:

    WhichclassofCiscoaccesspointsoperateunderIEEE802.3afpower?()

    A.ClassA

    B.Class1

    C.Class2

    D.Class3

    E.Class4


    参考答案:D

  • 第2题:

    00330038003000301585067361821下列程序段执行结果是___________。 x = 1 print(type(x)) x = 1.0 print(type(x)) x = '1.0' print(type(x)

    A.<class 'int'> <class 'float'> <class 'str'>

    B.<class 'float'> <class 'int'> <class 'str'>

    C.<class 'str'> <class 'float'> <class 'int'>

    D.<class 'str'> <class 'int'> <class 'float'>


    A

  • 第3题:

    14、使用下面哪个命令可以在虚拟终端vty上设置访问控制列表()

    A.access-group 1 in

    B.ip access-group 1 in

    C.access-class 1 in

    D.ip access-class 1 in


    access-class 1 in

  • 第4题:

    使用下面哪个命令可以在虚拟终端vty上设置访问控制列表?

    A.access-class 1 in

    B.access-group 1 in

    C.ip access-group 1 in

    D.ip access-class 1 in


    access-class 1 in

  • 第5题:

    下列程序段执行结果是___________。 x = 1 print(type(x)) x = 1.0 print(type(x)) x = '1.0' print(type(x)

    A.<class 'int'> <class 'float'> <class 'str'>

    B.<class 'float'> <class 'int'> <class 'str'>

    C.<class 'str'> <class 'float'> <class 'int'>

    D.<class 'str'> <class 'int'> <class 'float'>


    C.循环执行1次

  • 第6题:

    使用下面哪个命令可以在虚拟终端vty上设置访问控制列表()

    A.access-group 1 in

    B.ip access-group 1 in

    C.access-class 1 in

    D.ip access-class 1 in


    access-class 1 in