11.publicclassTest{12.publicvoidfoo(){ sertfalse; sertfalse;15.}16.publicvoidbar(){17.while(true){ sertfalse;19.} sertfalse;21.}22.}Whatcausescompilationtofail?A.Line13B.Line14C.Line18D.Line20為什么20行到達不了?

熱心網友

17.while(true){ sertfalse;19.}就算這里能拋出異常,也不會進入到20句。是一個死循環。