找考题网-背景图
单项选择题

Given: Which code fragment, inserted at the end of line……

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

热门试题