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
第1题:
下列说法正确的有()
A.环境变量可在编译sourcecode时指定
B.在编译程序时,所能指定的环境变量不包括classpath
C.javac一次可同时编译数个Java源文件
D.javac.exe能指定编译结果要置于哪个目录(directory)
第2题:
A、javaHelloWorld
B、javaHelloWorld.java
C、javacHelloWorld
D、javacHelloWorld.java
第3题:
在下面哪个web应用目录中可以放置所需要的class文件?()
第4题:
假设在目录myprj/src/school中有Java源文件Student.java,编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令来执行这个类?()
第5题:
用Javac编译Java源文件后得到代码叫字节码。
第6题:
如果编译源程序时出现“javac不是内部或外部命令的错误”,如何办()
第7题:
使用javac命令编译java的源程序时,不需要给出来文件的扩展名java。
第8题:
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?()
第9题:
对
错
第10题:
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.
第11题:
用setclasspath命令设置java类查找路径
下载浏览器的java虚拟机并安装
执行命令应到java源程序文件所在目录进行操作
用path命令将javac.exe文件所在路径放到dos的搜索路径中
第12题:
certain school rules
after—school activities
plans for classes and tests
children’s school life and work
第13题:
JDK中,用( )命令对其源文件进行编译,生成字节码文件。
A.java.exe
B.javac.exe
C.javadoc.exe
D.javap.exe
第14题:
此题为判断题(对,错)。
第15题:
使用JDK开发Java程序时,编译一个源文件使用的命令是()
第16题:
假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()
第17题:
编译和解析执行一个java应用程序应分别采用的命令是()
第18题:
Java源文件扩展名是()
第19题:
在JAVA编程中,以下()命令能够将Java源文件转换为类文件。
第20题:
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? ()
第21题:
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.
第22题:
javac Mule.java
javac -source 1.3 Mule.java
javac -source 1.4 Mule.java
javac -source 1.5 Mule.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