Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Java seeks to explain why for(int I = 0;; turei++); Can be executed countless times? Is it wrong that I=2 and int i=0?
Java seeks to explain why for(int I = 0;; turei++); Can be executed countless times? Is it wrong that I=2 and int i=0?
No, your int i = 0 is equivalent to declaring an int variable with a value of 0. You turn it into a Boolean expression, such as I.

I wish you a happy study!