while(true)好理解,for(;;)怎么理解呢。 我们看看for循环本来的样子:for (expr1; expr2; expr3) statement for(;;)可以理解为条件为空,就是无条件循环。