欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > Java认证考试 > Java认证考试综合练习

多项选择题

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");

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题