public static void main(String[] args) throws Exception {
int i = 1;
boolean flag = false;
while (!flag) {
if(i == 0){
System.out.println("child thread xxxx:"+(i));
i=i+1;
}else {
i=i+1;
}
}
}
一直输出 :child thread xxxx .. 血的教训啊。
整形越界,死循环,产生莫名其妙的问题

最新推荐文章于 2023-05-24 00:54:46 发布
