Kotlin flow control statements determine the next statement to be executed. For example, the statements if-else, if, when, while, for, and do are flow control statements.
Control flow can be depicted using the following Flow Chart:
This tutorial will take you through all these statements one by one explaining their usage and suitable examples.
Q 1 - Which of the following is true about Control Flow Statement?
All the mentioned statements are correct about control flow.
Q 2 - Which of the following is a control flow statement in Kotlin?
Here keyword when is part of the Kotlin Control Flow statements