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.
第1题:
A.Source,VolumeControl,Speaker,Amp
B.Source,Amp,VolumeControl,Speaker
C.Amp,Source,VolumeControl,Speaker
D.Speaker,Amp,VolumeControl,Source
第2题:
要获取当前目录下的所有文件,要采用下面的方法:
A.Directory.GetLogicalDrives()
B.Directory.GetDirectories()
C.Directory.GetFiles()
D.Directory.GetCurrentDirectory()
第3题:
要获取当前目录下的所有文件,要采用下面的方法:
A.Directory.GetLogicalDrives()
B.Directory.GetLogicalDrives()
C.Directory.GetFiles()
D.Directory.GetCurrentDirectory()
第4题:
根据下面的定义,能打印出字母P的语句是() struct person { char name[9]; int age;}; struct person classes[10]={"John",17, "Paul",19,"Mary",18, "Adam",16};
A.printf("%cn",classes[2].name);
B.printf("%cn",classes[2].name[1]);
C.printf("%cn",classes[1].name[0]);
D.printf("%cn",classes[1].name[1]);
第5题:
1、要获取当前目录下的所有文件,要采用下面的方法:
A.Directory.GetLogicalDrives()
B.Directory.GetDirectories()
C.Directory.GetFiles()
D.Directory.GetCurrentDirectory()