单选题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: 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


参考解析

解析: 暂无解析

相关考题:

●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?()AIf the compile is successful, Utils.class is added to the source directory.BThe compiler returns an invalid flag error.CIf the compile is successful, Utils.class is added to the classes directory.DIf the compile is successful, Utils.class is added to the bigProject directory.

单选题假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()Acd myprj/src javac –d ../classes school/Student.javaBcd myprj/src javac ../classes school/*.javaCcd myprj javac –d ../classes school/*.javaDcd 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.