可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given a correctly comp


Given a correctly compiled class whose source code is: Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains "." (current directory).   Which command line correctly runs Commander?()

  • Ajava Commander
  • Bjava com.sun.sjcp.Commander
  • Cjava com/sun/sjcp/Commander
  • Djava -cp com.sun.sjcp Commander
  • Ejava -cp com/sun/sjcp Commander
参考答案
参考解析:
分类:SCJP程序员认证考试题库