Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
Kotlin
/
Control Flow in Kotlin
Control Flow in Kotlin
This series of tutorials focuses on control flow in Kotlin:
Conditionals:
If-else and when expressions.
Loops:
For, while, and do-while loops.
Break and Continue:
Modifying loop execution.
1
Introduction to Control Flow in Kotlin
2
Understanding Conditional Statements in Kotlin
3
How to Use `if-else` in Kotlin
4
Using `if` as an Expression in Kotlin
5
How to Nest `if-else` Statements in Kotlin
6
Combining Multiple Conditions with Logical Operators in Kotlin
7
What is the `when` Expression in Kotlin?
8
Using `when` as a Replacement for `if-else` Chains in Kotlin
9
Kotlin - Advanced `when` Expressions: Ranges, Types, and More
10
How to Use `when` Without an Argument in Kotlin
11
Pattern Matching with `when` Expressions in Kotlin
12
When to Use `if-else` vs. `when` in Kotlin
13
Introduction to Loops in Kotlin
14
Using `for` Loops to Iterate Over Collections in Kotlin
15
How to Use `for` Loops with Ranges in Kotlin
16
Iterating Through Maps with `for` Loops in Kotlin
17
Working with Indices in `for` Loops in Kotlin
18
How to Write a `while` Loop in Kotlin
19
How to Use `do-while` Loops in Kotlin
20
Difference Between `while` and `do-while` Loops in Kotlin
21
How to Use Infinite Loops in Kotlin (and When to Avoid Them)
22
How to Use `break` to Exit Loops in Kotlin
23
What Does `continue` Do in Kotlin Loops?
24
Using Labels with `break` and `continue` in Kotlin
25
How to Skip Iterations with `continue` in Kotlin
26
Exiting Nested Loops Using Labeled `break` in Kotlin
27
Advanced Control Flow Techniques in Kotlin
28
Combining Loops with `if` Conditions in Kotlin
29
Using Control Flow for Data Processing in Collections in Kotlin
30
Best Practices for Writing Readable Control Flow in Kotlin
31
Real-World Examples of Control Flow in Kotlin Applications