Whichstatements,wheninsertedattheindicatedpositioninthefollowingcode,willcausearuntimeexceptionwhenattemptingtoruntheprogram?()classA{}classBextendsA{}classCextendsA{}publicclassQ3ae4{publicstaticvoidmain(Stringargs[]){Ax=newA();By=newB();Cz=newC();//insertstatementhere}}A.x=y;B.z=x;C.y=(B)x;D.z=(C)y;E.y=(A)y;
Whichstatements,wheninsertedattheindicatedpositioninthefollowingcode,willcausearuntimeexceptionwhenattemptingtoruntheprogram?()classA{}classBextendsA{}classCextendsA{}publicclassQ3ae4{publicstaticvoidmain(Stringargs[]){Ax=newA();By=newB();Cz=newC();//insertstatementhere}}
A.x=y;
B.z=x;
C.y=(B)x;
D.z=(C)y;
E.y=(A)y;