1.classA{2.publicStringtoString(){3.return4”;4.}5.}6.classBextendsA{7.publicStringtoString(){8.returnsuper.toString()+3”;9.}10.}11.publicclassTest{12.publicstaticvoidmain(String[]args){13.System.out.printIn(newB());14.}15.}Whatistheresult?()
A. Compilationsucceedsand4isprinted.
B. Compilationsucceedsand43isprinted.
C. Anerroronline9causescompilationtofail.
D. Anerroronline14causescompilationtofail.
E. Compilationsucceedsbutanexceptionisthrownatline9.