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