欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

Which code fragment, inserted at the end of line 12, produces the output p is 420?()

    A.p.setWeight(420);
    B.p.changePayload(420);
    C.p = new Payload(420);
    D.Payload.setWeight(420);
    E.p = Payload.setWeight(420);

点击查看答案

相关考题

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

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