在Java中退出/终止while循环的最佳方式是什么?
例如,我的代码当前如下所示:
while(true){ if(obj == null){ // I need to exit here } }
https://stackoverflow.com/questions/7951690
相似问题