单选题

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 theclasspath 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

正确答案

来源:www.examk.com

答案解析

相似试题
  • Click the Exhibit button. Given: ClassA a = new ClassA();a.methodA(); What is the result?()

    单选题查看答案

  • Given: Which statement is true?()

    单选题查看答案

  • Given: What can be a result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案

  • Given: What is the result?()

    单选题查看答案