单选题

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

Ap.setWeight(420);

Bp.changePayload(420);

Cp = new Payload(420);

DPayload.setWeight(420);

Ep = Payload.setWeight(420);

正确答案

来源:www.examk.com

答案解析