试题详情
单项选择题 Given: 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);

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

热门试题