Java infinite do-while loop

Java Programming Java8Object Oriented ProgrammingJava Technologies

Yes. Following do-while loop is a valid statement and causes an infinite loop.

do{} while(true);
raja
Published on 22-Jan-2018 12:06:07
Advertisements