搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

在Java中,关于CLASSPATH环境变量的说法,正确的有()。

A、CLASSPATH一旦设置就不可修改,但可以将目录添加到该环境变量中

B、编译器用它来搜索各自的类文件

C、CLASSPATH是一个目录列表

D、解释器用它来搜索各自的类文件

更多“在Java中,关于CLASSPATH环境变量的说法,正确的有()。”相关的问题
第1题

A、CLASSPATH一旦设置之后不可修改,但可以将目录添加到该环境变量。  B、编译器用它来搜索各自的类文件。  C、CLASSPATH是一个目录列表。  D、解释器用它来搜索各自的类文件。  

点击查看答案
第2题

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  

点击查看答案
第3题

A、容器会查找web-inf目录的类,如果没有要到环境变量classpath寻找  B、容器会查找servlet 的类,如果没有要到环境变量classpath寻找  C、容器会查找classes的类和lib目录jar文件的类,如果没有要到环境变量classpath查找  D、容器会查找classes的类和lib目录jar文件的类,如果找不到会报错  

点击查看答案
第4题

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  

点击查看答案
第5题

A、take the Java sources (.java) files and include them in your $APPL_TOP  B、take the Java sources (.java) files and include them in your CLASSPATH  C、take the Java classes (.class) files and include them in your $APPL_TOP  D、take the Java classes (.class) files and include them in your CLASSPATH  

点击查看答案
第8题

A、java MainClass if run from the/apps directory  B、javacom.company.application.MainClass if run from the/apps directory  C、java-classpath/appscom.company.application.MainClass if run fro many directory  D、java-classpath.MainClass if run fromt he/apps/com/company/application directory  E、java-classpath/apps/com/company/application:.MainClass if run from the/apps directory  F、javacom.company.application.MainClassifrunfromthe/apps/com/company/application directory  

点击查看答案
第9题

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  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服