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句。是一个死循环。