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

题目内容 (请给出正确答案)
Giventhefollowingdirectorystructure:Andthefollowingcommandlineinvocation:javac–dclassessource/Utils.javaAssumethecurrentdirectoryisbigProject,whatittheresult?()

A.Ifthecompileissuccessful,Utils.classisaddedtothesourcedirectory.

B.Thecompilerreturnsaninvalidflagerror.

C.Ifthecompileissuccessful,Utils.classisaddedtotheclassesdirectory.

D.Ifthecompileissuccessful,Utils.classisaddedtothebigProjectdirectory.


参考答案

更多 “ Giventhefollowingdirectorystructure:Andthefollowingcommandlineinvocation:javac–dclassessource/Utils.javaAssumethecurrentdirectoryisbigProject,whatittheresult?() A.Ifthecompileissuccessful,Utils.classisaddedtothesourcedirectory.B.Thecompilerreturnsaninvalidflagerror.C.Ifthecompileissuccessful,Utils.classisaddedtotheclassesdirectory.D.Ifthecompileissuccessful,Utils.classisaddedtothebigProjectdirectory. ” 相关考题
考题 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

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

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

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

考题 The most common query language is______.A.CB.JavaC.perlD.SQL

考题 Windows操作系统上Java编译器程序的文件名是()。A.javac.exeB.java.exeC.javac.classD.jar.exe

考题 编译和解析执行一个Java应用程序应分别采用的命令是_____。A.java和javacB.javac和javaC.javap和javaD.javac和jdb