网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Given: Which command-line invocations will compile?()
A

javac Mule.java

B

javac -source 1.3 Mule.java

C

javac -source 1.4 Mule.java

D

javac -source 1.5 Mule.java


参考答案

参考解析
解析: 暂无解析
更多 “单选题Given: Which command-line invocations will compile?()A javac Mule.javaB javac -source 1.3 Mule.javaC javac -source 1.4 Mule.javaD javac -source 1.5 Mule.java” 相关考题
考题 ●Which is not a computer language? (71)(71) A. officeB. JavaC. C++D. C#

考题 publicclassTest{publicstaticvoidmain(String[]args){booleanassert=true;if(assert){System.out.println(”assertistrue”);}}}Given:javac-source1.3Test.javaWhatistheresult?() A.Compilationfails.B.Compilationsucceedswitherrors.C.Compilationsucceedswithwarnings.D.Compilationsucceedswithoutwarningsorerrors.

考题 Given:Which command-line invocations will compile?() A.javac Mule.javaB.javac -source 1.3 Mule.javaC.javac -source 1.4 Mule.javaD.javac -source 1.5 Mule.java

考题 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? ()A.If the compile is successful, Utils.class is added to the source directory.B.The compiler returns an invalid flag error.C.If the compile is successful, Utils.class is added to the classes directory.D.If the compile is successful, Utils.class is added to the bigProject directory.

考题 ______ is not a programming language.A.COBOLB.JavaC.UMLD.Basic

考题 3ThenameofaJavasourcecodefileis().A..classB..javaC..exeD..obj

考题 要运行一个名为Test.class的类文件,需要在DOS提示符下输入( )命令。A.javac TestB.javac Test. classC.java TestD.java Test. class

考题 下面与Zookeeper类似的框架是? A.ProtobufB.JavaC.KafkaD.Chubby

考题 用于关系型数据库的查询语言为( )。A..NetB.JavaC.SQLD.C

考题 在Dreamweaver中,最常用的表单处理脚本语言是( )。A、CB、JavaC、ASPD、JavaScript

考题 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!"); }  }  A、java SmallProgB、avac SmallProgC、javac SmallProg.javaD、java SmallProg main

考题 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?() A、 Compilation fails.B、 Compilation succeeds with errors.C、 Compilation succeeds with warnings.D、 Compilation succeeds without warnings or errors.

考题 假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?() A、cd myprj/src javac –d ../classes school/Student.javaB、cd myprj/src javac ../classes school/*.javaC、cd myprj javac –d ../classes school/*.javaD、cd myprj/src/school javac –d ../classes school/Student.java

考题 目前比较流行的网络编程语言是()。A、C++B、JavaC、HTMLD、Foxpro

考题 编译和解析执行一个java应用程序应分别采用的命令是()A、Java和JavacB、Javap和JavaC、Javac和JavaD、Javac和Jdb

考题 Java源文件扩展名是()A、.classB、.javaC、.javD、.cla

考题 网页通常采用()语言编写。A、CB、JAVAC、HTMLD、Basic

考题 下面哪项是网页制作软件?()A、HTMLB、JavaC、DREAMWEAVERD、Photoshop

考题 下列哪些技术基于XML?()A、Web ServicesB、JavaC、SOAPD、W3C

考题 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?()A、If the compile is successful, Utils.class is added to the source directory.B、The compiler returns an invalid flag error.C、If the compile is successful, Utils.class is added to the classes directory.D、If the compile is successful, Utils.class is added to the bigProject directory.

考题 单选题Java源文件以为扩展名的是()A .classB .javaC .javD .cla

考题 单选题Java 编译输出文件的后缀是()A .exeB .javaC .classD .obj

考题 单选题Java源文件扩展名是()A .classB .javaC .javD .cla

考题 单选题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?()A If the compile is successful, Utils.class is added to the source directory.B The compiler returns an invalid flag error.C If the compile is successful, Utils.class is added to the classes directory.D If the compile is successful, Utils.class is added to the bigProject directory.

考题 单选题假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()A cd myprj/src javac –d ../classes school/Student.javaB cd myprj/src javac ../classes school/*.javaC cd myprj javac –d ../classes school/*.javaD cd myprj/src/school javac –d ../classes school/Student.java

考题 单选题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?()A  Compilation fails.B  Compilation succeeds with errors.C  Compilation succeeds with warnings.D  Compilation succeeds without warnings or errors.