A

Admin • 831.35K Points
Coach

Q. What is the main difference between a WHILE and a DO-WHILE loop in Java?

  • (A) WHILE loop executes the statements inside of it at least once even if the condition is false.
  • (B) DO-WHILE loop executes the statements inside of it at least once even if the condition is false.
  • (C) WHILE loop is fast.
  • (D) DO-WHILE loop is fast.
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.