The do-while loop in Scala is –

61. The do-while loop in Scala is -

  1. Iteration control Loop
  2. Entry control loop
  3. Exit control loop
  4. None of these

Answer: C) Exit control loop

Explanation:

The do-while loop is an exit control loop, where loop body executes before evaluating the test condition.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.