单选题A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()A put Poker.jar in directory /stuff/

题目
单选题
A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()
A

put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java

B

put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar

C

Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar

D

put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java

E

put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar

F

put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar


相似考题
更多“单选题A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()A put Poker.jar in directory /stuff/”相关问题
  • 第1题:

    A class games.cards.Poker is correctly defined in the jar file Poker.jar.  A user wants to execute the main method of Poker on a UNIX system using the command:  java games.cards.Poker  What allows the user to do this?() 

    • A、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
    • B、 put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
    • C、 Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
    • D、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java
    • E、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jar
    • F、 put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar

    正确答案:C

  • 第2题:

    A UNIX user named Bob wants to replace his chess program with a new one,but he is hot sure where the old one is in stalled.Bob is currently able to run a Java chess program starting from his home directory/home/bobusingthecommand: java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

    • A、/test/Chess.class
    • B、/home/bob/Chess.class
    • C、/test/games/Chess.class
    • D、/usr/lib/games/Chess.class
    • E、/home/bob/games/Chess.class
    • F、inside jarfile/opt/java/lib/Games.jar(withacorrectmanifest)
    • G、inside jarfile/home/bob/downloads/Games.jar(withacorrectmanifest)

    正确答案:C

  • 第3题:

    A UNIX user named Bob wants to replace his chess program with a new one, but he is hot sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command:  java -classpath /test:/home/bob/downloads/* .jar games.Chess  Bob‟s CLASSPATH is set (at login time) to:  /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/* .jar  What is a possible location for the Chess.class file?() 

    • A、 /test/Chess.class
    • B、 /home/bob/Chess.class
    • C、 /test/games/Chess.class
    • D、 /usr/lib/games/Chess.class
    • E、 /home/bob/games/Chess.class
    • F、 inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
    • G、 inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

    正确答案:C

  • 第4题:

    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /test:/home/bob/downloads/*.jar games. Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

    • A、/test/Chess.class
    • B、/home/bob/Chess.class
    • C、/test/games/Chess.class
    • D、/usr/lib/games/Chess.class
    • E、/home/bob/games/Chess.class

    正确答案:C

  • 第5题:

    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java-classpath /test:/home/bob/downloads/*.jar games.Chess Bob'sCLASSPATH is set (at login time) to/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()

    • A、/test/Chess.class
    • B、/home/bob/Chess.class
    • C、/test/games/Chess.class
    • D、/usr/lib/games/Chess.class
    • E、/home/bob/games/Chess.class
    • F、inside jarfile /opt/java/lib/Games.jar (with a correct manifest)
    • G、inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

    正确答案:C

  • 第6题:

    You are designing a strategy for migrating the UNIX user accounts to Active Directory.  Which three actions should you perform?()

    • A、 Import the user accounts as inetOrgPerson objects.
    • B、 Import the user accounts into Active Directory by using the Ldifde command-line tool.
    • C、 Export all user accounts from the UNIX servers to a text file.
    • D、 Export all user accounts and their passwords from the UNIX servers to a text file. Encrypt this file to achieve extra security.
    • E、 Assign random passwords to each user object, and securely distribute the password to the users.
    • F、 Create the same strong password for each user object, and require users to change their passwords at first logon.
    • G、 Instruct users to use the same name and password as they used on the UNIX servers.

    正确答案:B,C,F

  • 第7题:

    单选题
    A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()
    A

    put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java

    B

    put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar

    C

    Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar

    D

    put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java

    E

    put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar

    F

    put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar


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

  • 第8题:

    单选题
    A user has changed their password using the passwd command, and notices that the change is only made tothe local node. When the administrator changes the user’s password from the command line using the passwd command thechange is made cluster-wide. What is the most likely cause of this problem?()
    A

    The user has a UID less than 200

    B

    The user has been defined as an administrative user

    C

    The file /usr/es/sbin/cluster/clpasswd is not executable by the user

    D

    The user needs explicit authorization to change their password cluster-wide


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

  • 第9题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar  What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class


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

  • 第10题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java-classpath /test:/home/bob/downloads/*.jar games.Chess Bob'sCLASSPATH is set (at login time) to/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class

    F

    inside jarfile /opt/java/lib/Games.jar (with a correct manifest)

    G

    inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)


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

  • 第11题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /test:/home/bob/downloads/*.jar games. Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class


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

  • 第12题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed.  Bob is currently able to run a Java chess program starting from his home directory /home/bob using thecommand: java -classpath /test:/home/bob/downloads/*.jar games. Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class


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

  • 第13题:

    A user has changed their password using the passwd command, and notices that the change is only made tothe local node. When the administrator changes the user’s password from the command line using the passwd command thechange is made cluster-wide. What is the most likely cause of this problem?()

    • A、The user has a UID less than 200
    • B、The user has been defined as an administrative user
    • C、The file /usr/es/sbin/cluster/clpasswd is not executable by the user
    • D、The user needs explicit authorization to change their password cluster-wide

    正确答案:D

  • 第14题:

    A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: java games.cards.Poker What allows the user to do this?()

    • A、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java
    • B、put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/*.jar
    • C、Put Poker.jar in directory /stuff/java,and set the CLASSPATH to include /stuff/java/Poker.jar
    • D、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java
    • E、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/*.jar
    • F、put Poker.jar in directory /stuff/java/games/cards,and set the CLASSPATH to include /stuff/java/Poker.jar

    正确答案:C

  • 第15题:

    A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command:java games.cards. Poker What allows the user to do this?()

    • A、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java
    • B、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar
    • C、put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar
    • D、put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java

    正确答案:C

  • 第16题:

    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar  What is a possible location for the Chess.class file?()

    • A、/test/Chess.class
    • B、/home/bob/Chess.class
    • C、/test/games/Chess.class
    • D、/usr/lib/games/Chess.class
    • E、/home/bob/games/Chess.class

    正确答案:C

  • 第17题:

    You issued the following command at the UNIX environment:   % setenv ORA_SDTZ ’OZ_TZ’   What will be the impact of issuing the above command?()  

    • A、 The operating system local time zone will be set for a user session using the operating system environment variable.
    • B、 The database local time zone will be set for a user session using the operating system environment variable.
    • C、 The operating system local time zone will be set for the database using the operating system environment
    • D、 The database local time zone will be set for the database using the operating system environment variable.

    正确答案:B

  • 第18题:

    单选题
    A class games.cards.Poker is correctly defined in the jar file Poker.jar.  A user wants to execute the main method of Poker on a UNIX system using the command:  java games.cards.Poker  What allows the user to do this?()
    A

     put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java

    B

     put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar

    C

     Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar

    D

     put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java

    E

     put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jar

    F

     put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar


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

  • 第19题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java-classpath /test:/home/bob/downloads/*.jar games.Chess Bob'sCLASSPATH is set (at login time) to/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class

    F

    inside jarfile /opt/java/lib/Games.jar (with a correct manifest)

    G

    inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)


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

  • 第20题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one,but he is hot sure where the old one is in stalled.Bob is currently able to run a Java chess program starting from his home directory/home/bobusingthecommand: java-classpath/test:/home/bob/downloads/*.jargames.ChessBob’sCLASSPATHisset(atlogintime)to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?()
    A

    /test/Chess.class

    B

    /home/bob/Chess.class

    C

    /test/games/Chess.class

    D

    /usr/lib/games/Chess.class

    E

    /home/bob/games/Chess.class

    F

    inside jarfile/opt/java/lib/Games.jar(withacorrectmanifest)

    G

    inside jarfile/home/bob/downloads/Games.jar(withacorrectmanifest)


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

  • 第21题:

    单选题
    A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command:java games.cards. Poker What allows the user to do this?()
    A

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java

    B

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar

    C

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar

    D

    put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java


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

  • 第22题:

    单选题
    A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command:java games.cards. Poker What allows the user to do this?()
    A

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java

    B

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jar

    C

    put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jar

    D

    put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java


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

  • 第23题:

    单选题
    If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?()   public class SmallProg {   public static void main(String args[])  { System.out.println("Good luck!"); }  }
    A

    java SmallProg

    B

    avac SmallProg

    C

    javac SmallProg.java

    D

    java SmallProg main


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

  • 第24题:

    单选题
    A UNIX user named Bob wants to replace his chess program with a new one, but he is hot sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command:  java -classpath /test:/home/bob/downloads/* .jar games.Chess  Bob‟s CLASSPATH is set (at login time) to:  /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/* .jar  What is a possible location for the Chess.class file?()
    A

     /test/Chess.class

    B

     /home/bob/Chess.class

    C

     /test/games/Chess.class

    D

     /usr/lib/games/Chess.class

    E

     /home/bob/games/Chess.class

    F

     inside jarfile /opt/java/lib/Games.jar (with a correct manifest)

    G

     inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)


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