Java infinite for loop



Yes. Following for loop is a valid statement and causes an infinite loop.

for(;;);

Advertisements