试题详情
单项选择题 package com.sun.sjcp; public class Commander{ public static void main(String[]args){ //more code here } } Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains“.“(current directory). Which command line correctly runs Commander?()

A、java Commander

B、java com.sim.sjcp.Commander

C、java com/sun/sjcp/Commander

D、java-cpcom.sun.sjcp Commander

E、java-cpcom/sun/sjcp Commander

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题