A

Admin • 833.24K Points
Coach

Q. Which of the following loops will execute zero times if the condition is false initially?

  • (A) do-while
  • (B) while
  • (C) for
  • (D) both b and c
  • Correct Answer - Option(D)
  • Views: 29
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin

while and for loops check the condition before execution.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.