Skip to content

Tag Archives: Kotlin Control-flow

As we all know about loops, in Kotlin, loops are compiled down to optimized loops wherever possible. For example, if you iterate over a number… Read More
Kotlin is a statically typed, general-purpose programming language developed by JetBrains, that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first… Read More
In this article, we will learn how to use continue in Kotlin. While working with a loop in the programming, sometimes, it is desirable to… Read More
In this article, we will learn how to use continue in kotlin. While working with loop in the programming, sometimes, it is desirable to skip… Read More
When we are working with loops and want to stop the execution of loop immediately if a certain condition is satisfied, in this case, we… Read More
Like Java, do-while loop is a control flow statement which executes a block of code at least once without checking the condition, and then repeatedly… Read More
In programming, loop is used to execute a specific block of code repeatedly until certain condition is met. If you have to print counting from… Read More
In Kotlin, for loop is equivalent to foreach loop of other languages like C#. Here for loop is used to traverse through any data structure… Read More
In Kotlin, when replaces the switch operator of other languages like Java. A certain block of code needs to be executed when some condition is… Read More

Start Your Coding Journey Now!