Home »
MCQs »
Scala MCQs
The do-while loop in Scala is –
61. The do-while loop in Scala is -
- Iteration control Loop
- Entry control loop
- Exit control loop
- 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.