假设在目录myprj/src/school中有Java源文件Student.java,如果希望该文件编译后的类文件出现在目录myprj/classes/school中,应该使用下列哪一个命令?()
- A、cd myprj/src javac –d ../classes school/Student.java
- B、cd myprj/src javac ../classes school/*.java
- C、cd myprj javac –d ../classes school/*.java
- D、cd myprj/src/school javac –d ../classes school/Student.java
正确答案:D
答案解析:有
微信扫一扫手机做题