搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

package com.sun.sjcp;<br /> public class Commander{<br /> public static void main(String[]args){<br /> //more code here<br /> }<br /> }<br /> Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains&ldquo;.&ldquo;(current directory).<br /> 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

更多“ package com.sun.sjcp;<br /> public class Commander{<br /> public static void main(String[]args){<br /> //more code here<br /> }<br /> }<br /> Assume that the class fileis located in /foo/com/sun/sjcp/,the current directory is/foo/,and that the classpath contains&ldquo;.&ldquo;(current directory).<br /> Which command line correctly runs Commander?()”相关的问题
第5题

A、A.〈%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %〉  B、B.〈%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %〉  C、C.〈%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %〉  D、D.〈%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %〉  

点击查看答案
第8题

A、该语句必须出现在类声明语句中class Student{}之前  B、包名com.myschool对应目录结构com/myschool  C、要想引入该包中的所有类,必须使用import com.myschool  D、任何类中都必须包括package语句  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服