单选题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 /

题目
单选题
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


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

    Bob, a user, reports that his computer is running slower since he viewed an online training presentation. Bob is also receiving an increased amount of spam email. Which of the following is the MOST likely cause of Bob’s issue?()

    • A、Virus
    • B、Worm
    • C、Network bandwidth
    • D、Malware

    正确答案:D

  • 第2题:

    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

  • 第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 the administrator of your company’s network. A user named Peter runs Windows 2000 Professional on his portable computer. Peter wants to be able to work at home on files that were created in the office on the company network.  Prior to logging off the network and leaving the office, Peter enables Offline Files. Peter calls you from home and reports that copies of his folders and files on the network are not available on his portable computer.  What should you instruct Peter to do? ()

    • A、 Enable file and print sharing.   Peter will be able to access his files at home immediately. 
    • B、 Synchronize all offline files.   Peter will be able to access his files at home immediately. 
    • C、 At the office, make the files available offline.   Peter will be able to access his files the next time he logs off the network. 
    • D、 At the office, create a shortcut to the Offline Files folder.   Peter will be able to access his files the next time he logs off the network. 

    正确答案:C

  • 第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 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
    解析: 暂无解析

  • 第9题:

    单选题
    You are the administrator of your company’s network. A user named Peter runs Windows 2000 Professional on his portable computer. Peter wants to be able to work at home on files that were created in the office on the company network.  Prior to logging off the network and leaving the office, Peter enables Offline Files. Peter calls you from home and reports that copies of his folders and files on the network are not available on his portable computer.  What should you instruct Peter to do? ()
    A

     Enable file and print sharing.   Peter will be able to access his files at home immediately. 

    B

     Synchronize all offline files.   Peter will be able to access his files at home immediately. 

    C

     At the office, make the files available offline.   Peter will be able to access his files the next time he logs off the network. 

    D

     At the office, create a shortcut to the Offline Files folder.   Peter will be able to access his files the next time he logs off the network. 


    正确答案: A
    解析: Peter must make the files available offline when he is connected to the network (not from home). This will synchronize the files the next time Peter logs off the network.

  • 第10题:

    单选题
    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
    解析: 暂无解析

  • 第11题:

    单选题
    You are the administrator of your company's network. A user named David runs Windows 2000 Professional on his portable computer. David wants to be able to work at home on files that he created at the office and stored on the company network. Prior to logging off the network and leaving the office, David enables offline files.   David calls you from home and reports that copies of his folders and files on the network are not available on his portable computer. What should you instruct David to do, so that he can proceed with his work?()
    A

    Enable file and print sharing. David will be able to access his files at home immediately. 

    B

    Synchronize all offline files. David will be able to access his files at home immediately. 

    C

    At the office, make all files available offline. David will be able to access his files the next time he logs off the network. 

    D

    At the office, create a shortcut to the Offline Files folder. David will be able to access his files the next time he logs off the network. 


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

  • 第12题:

    单选题
    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
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

    package com.company.application;  public class MainClass {  public static void main(String[] args) { }  }  And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to “.“ (current directory).  Which two java commands entered at the command line will run MainClass?()

    • A、 java MainClass if run from the /apps directory
    • B、 java com.company.application.MainClass if run from the /apps directory
    • C、 java -classpath /apps com.company.application.MainClass if run from any directory
    • D、 java -classpath . MainClass if run from the /apps/com/company/application directory
    • E、 java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
    • F、 java com.company.application.MainClass if run from the /apps/com/company/application directory

    正确答案:B,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 are the administrator of your company's network. A user named David runs Windows 2000 Professional on his portable computer. David wants to be able to work at home on files that he created at the office and stored on the company network. Prior to logging off the network and leaving the office, David enables offline files.   David calls you from home and reports that copies of his folders and files on the network are not available on his portable computer. What should you instruct David to do, so that he can proceed with his work?()

    • A、Enable file and print sharing. David will be able to access his files at home immediately. 
    • B、Synchronize all offline files. David will be able to access his files at home immediately. 
    • C、At the office, make all files available offline. David will be able to access his files the next time he logs off the network. 
    • D、At the office, create a shortcut to the Offline Files folder. David will be able to access his files the next time he logs off the network. 

    正确答案:C

  • 第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题:

    单选题
    Bob, a user, reports that his computer is running slower since he viewed an online training presentation. Bob is also receiving an increased amount of spam email. Which of the following is the MOST likely cause of Bob’s issue?()
    A

    Virus

    B

    Worm

    C

    Network bandwidth

    D

    Malware


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

  • 第20题:

    单选题
    Bob, a user, reports that his computer is running slower since he viewed an online training presentation. Bob is also receiving an increased amount of spam email. Which of the following is the MOST likely cause of Bob’s issue?()
    A

    Virus

    B

    Worm

    C

    Network bandwidth

    D

    Malware


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

  • 第21题:

    单选题
    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
    解析: 暂无解析

  • 第22题:

    单选题
    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
    解析: 暂无解析

  • 第23题:

    单选题
    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
    解析: 暂无解析