网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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.
考题
编译和解析执行一个Java应用程序应分别采用的命令是_____。A.java和javacB.javac和javaC.javap和javaD.javac和jdb
热门标签
最新试卷