Home » JAVA Programming » Loop Control » Question
  1. Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?
    1. while
    2. for
    3. if
    4. do-while
    5. None of these
Correct Option: D

do-while loops will execute the body of loop even when condition controlling the loop is initially false



Your comments will be displayed only after manual approval.