Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The do-while statement is similar to the while statement, except that the condition is evaluated after the execution of the encapsulated block. So,even if the condition is false, the instructions will still be evaluated once.

...