javac Mule.java
javac -source 1.3 Mule.java
javac -source 1.4 Mule.java
javac -source 1.5 Mule.java
第1题:
______ is not a programming language.
A.COBOL
B.Java
C.UML
D.Basic
第2题:
要运行一个名为Test.class的类文件,需要在DOS提示符下输入( )命令。
A.javac Test
B.javac Test. class
C.java Test
D.java Test. class
第3题:
用于关系型数据库的查询语言为( )。
A..Net
B.Java
C.SQL
D.C
第4题:
If this source code is contained in a file called SmallProg.java, what command should be used to compile it using the JDK?() public class SmallProg { public static void main(String args[]) { System.out.println("Good luck!"); } }
第5题:
假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()
第6题:
编译和解析执行一个java应用程序应分别采用的命令是()
第7题:
网页通常采用()语言编写。
第8题:
下列哪些技术基于XML?()
第9题:
.class
.java
.jav
.cla
第10题:
.class
.java
.jav
.cla
第11题:
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
第12题:
3 The name of a Java source code file is( ).
A. .class B. .java C. .exe D. .obj
答案B
翻译:一个Java源代码文件的名称
class文件是java编译后的文件,它不是源代码,真正的java源代码是.java文件。 java源代码是txt格式的.java文件,用记事本就可以打开。
第13题:
A.Protobuf
B.Java
C.Kafka
D.Chubby
第14题:
在Dreamweaver中,最常用的表单处理脚本语言是( )。
A、C
B、Java
C、ASP
D、JavaScript
第15题:
public class Test { public static void main(String [] args) { boolean assert = true; if(assert) { System.out.println(”assert is true”); } } } Given: javac -source 1.3 Test.java What is the result?()
第16题:
目前比较流行的网络编程语言是()。
第17题:
Java源文件扩展名是()
第18题:
下面哪项是网页制作软件?()
第19题:
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?()
第20题:
.exe
.java
.class
.obj
第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题:
Compilation fails.
Compilation succeeds with errors.
Compilation succeeds with warnings.
Compilation succeeds without warnings or errors.