cd myprj/src java ../classes school.Student
cd myprj/src/school java –cp ../classes school.Student
cd myprj/src/school java –cp ../../classes school.Student
cd myprj/src java –cd ../classes school.Student
第1题:
假设在目录myprj/src/school中有Java源文件Student.java,编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令来执行这个类?()
第2题:
假设已编写好了类Class1:packagemypackage;publicclassClass1{……}它存在Class1.java文件中。现在main方法所在的源程序MainPro.java如下:importmypackage;……假设操作系统中的CLASSPATH环境变量已被设成"c:/java/lib/classes.zip;.;",而main方法所在的源程序MainPro.java存在目录c:/mydir中(当前工作目录为c:/mydir),那么Class1.class文件应存放在那个目录中呢?
第3题:
在设计Web项目的目录结构时,src目录一般放()文件。
第4题:
JDK工具javadoc的作用是哪项?()
第5题:
You completed your Java procedure for your external Java function activity, and you now want todeploy this to your server. What would you do to deploy the Java procedure?()
第6题:
-cp
-g
-classpath
-verbose
第7题:
import java.sql.*; package school; class Student{ }
package school; import java.sql.*; class Student{ }
package school; class Student{ } import java.sql.*;
package school; import java.sql.*;private String name; class Student{ }
第8题:
If the compile is successful, Utils.class is added to the source directory.
The compiler returns an invalid flag error.
If the compile is successful, Utils.class is added to the classes directory.
If the compile is successful, Utils.class is added to the bigProject directory.
第9题:
编译后的java二进制码放在classes目录下
java源文件放在scr目录下
java程序运行时的工作目录就是工程所在目录,工作目录是指java程序运行时默认的当前目录
编译中产生的obj临时文件和最终产生的可执行文件都放在Debug目录下
第10题:
HotSwap
FastSwap
HotDeploy
FastDeploy
FastReload
第11题:
take the Java sources (.java) files and include them in your $APPL_TOP
take the Java sources (.java) files and include them in your CLASSPATH
take the Java classes (.class) files and include them in your $APPL_TOP
take the Java classes (.class) files and include them in your CLASSPATH
第12题:
certain school rules
after—school activities
plans for classes and tests
children’s school life and work
第13题:
假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()
第14题:
若使当前编译的Java文件所引用的类文件不在当前目录下,需要在Java命令后面添加参数()。
第15题:
下列有关类声明的代码片段,哪一项是正确的?()
第16题:
JBuilder中包含多种文件,他们被放在不同的目录下,下面4种类型的文件描述中,哪种是错误的()
第17题:
Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()
第18题:
A
B
C
D
第19题:
The classes that they are taking.
The theatre program at their school.
The woman’s interest in an internship.
The man’s experience in a law firm.
第20题:
cd myprj/src javac –d ../classes school/Student.java
cd myprj/src javac ../classes school/*.java
cd myprj javac –d ../classes school/*.java
cd myprj/src/school javac –d ../classes school/Student.java
第21题:
From morning to afternoon.
In their school time.
In their spare time.
On Wednesday evening.
第22题:
生成Java文档
编译Java源文件
执行Java类文件
测试Java代码
第23题:
cd myprj/src java ../classes school.Student
cd myprj/src/school java –cp ../classes school.Student
cd myprj/src/school java –cp ../../classes school.Student
cd myprj/src java –cd ../classes school.Student
第24题:
/WEB-INF/lib
/META-INF/lib
/classes 放置已经编译的类文件
/WEB-INF/classes