试题详情
- 多项选择题 11.public class Commander{ 12.public static void main(String[]args){ 13.String myProp=/*insert code here*/ 14.System.out.println(myProp); 15.} 16.} and the command line: java-Dprop.custom=gobstopper Commander Which two,placed on line13,will produce the output gobstopper?()
A、System.load("prop.custom");
B、System.getenv("prop.custom");
C、System.property("prop.custom");
D、System.getProperty("prop.custom");
E、System.getProperties().getProperty("prop.custom");
- D,E
关注下方微信公众号,在线模考后查看
热门试题
- Which areQ
- Which is
- Which two̳
- 1. class
- 下面有关JDK中的包和他们的基本功能,描
- String字符串是只读的,因此不支持“
- 现有: cla
- public class&e
- 函数重载时,同名函数的参数类型列表必须不
- 用内部类或匿名类实现事件处理的特点是什么
- public interfa
- 现有: &en
- Public class&e
- package test;&
- 如果java.awt.Container
- Java中怎样清除对象?能否控制Java
- public class&e
- 在 myjsp.jsp&ens
- 下载并安装JDK软件包,并尝试查看其中的
- 下面有关servlet的层级结构和常用的