11.classPayload{12.privateintweight;13.publicPayload(intwt){weight=wt;}13.publicvoidsetWeight(mtw){weight=w;}15.publicStringtoString{returnInteger.toString(weight);}16.}17.18.publicclassTestPayload{19.staticvoidchangePayload(Payloadp){20./*insertcodehere*/21.}22.23.publicstaticvoidmain(String[]args){24.Payloadp=newPayload();25.p.setWeight(1024);26.changePayload(p);27.System.out.println(”Thevalueofpis+p);28.}29.}Whichstatement,placedatline20,causesthecodetoprintThevalueofpis420.”?()
11.classPayload{
12.privateintweight;
13.publicPayload(intwt){weight=wt;}
13.publicvoidsetWeight(mtw){weight=w;}
15.publicStringtoString{returnInteger.toString(weight);}
16.}
17.
18.publicclassTestPayload{
19.staticvoidchangePayload(Payloadp){
20./*insertcodehere*/
21.}
22.
23.publicstaticvoidmain(String[]args){
24.Payloadp=newPayload();
25.p.setWeight(1024);
26.changePayload(p);
27.System.out.println(”Thevalueofpis+p);
28.}
29.}
Whichstatement,placedatline20,causesthecodetoprintThevalueofpis420.”?()