Beginner Java
Q18 / 100

Which loop is guaranteed to execute at least once?

Correct! Well done.

Incorrect.

The correct answer is C) do-while loop

C

Correct Answer

do-while loop

Explanation

A do-while loop checks its condition after executing the body, ensuring the body runs at least once.

Progress
18/100