多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题