82 articles
Kotlin Default and Named Arguments, and varargKotlin Tutorials

Kotlin Default and Named Arguments, and vararg

Learn Kotlin default arguments, named arguments and vararg with examples: skip optional parameters, call functions clearly, and pass any number of values.

23 Nov 2026Read →
Kotlin Null Safety: ?, ?., ?:, !! and let ExplainedKotlin Tutorials

Kotlin Null Safety: ?, ?., ?:, !! and let Explained

Kotlin null safety explained: nullable types, safe call ?., Elvis ?:, the !! operator, let, smart casts and how to avoid NullPointerException.

23 Nov 2026Read →
Kotlin while and do-while Loops, break and continueKotlin Tutorials

Kotlin while and do-while Loops, break and continue

Kotlin while and do-while loops, when to use them instead of for, how break and continue work, and labeled break for nested loops.

23 Nov 2026Read →
Kotlin for Loop and Ranges (with Examples)Kotlin Tutorials

Kotlin for Loop and Ranges (with Examples)

Learn the Kotlin for loop: ranges (1..10, until, ..

23 Nov 2026Read →
Kotlin when Expression (Switch Alternative) with ExamplesKotlin Tutorials

Kotlin when Expression (Switch Alternative) with Examples

Kotlin when expression explained: match values, several values per branch, ranges with in, type checks with is, and using when to return a value.

23 Nov 2026Read →
Kotlin if-else Expression (with Examples)Kotlin Tutorials

Kotlin if-else Expression (with Examples)

Learn Kotlin if, if-else and else-if with examples. Use if as an expression to return a value (Kotlin's ternary operator), and avoid common mistakes.

23 Nov 2026Read →
Kotlin Logical, Assignment and Increment OperatorsKotlin Tutorials

Kotlin Logical, Assignment and Increment Operators

Kotlin logical operators (&&, ||, !), assignment operators (+=, -=, *=), increment and decrement (++, --) and the in operator, with examples and output.

23 Nov 2026Read →
Kotlin Input and Output: println, print and readlnKotlin Tutorials

Kotlin Input and Output: println, print and readln

Print output and read user input in Kotlin with print, println and readln. Read numbers safely, read several values on one line, and format output.

23 Nov 2026Read →
Kotlin Strings: Templates, Functions and Multiline StringsKotlin Tutorials

Kotlin Strings: Templates, Functions and Multiline Strings

Kotlin strings with examples: string templates, length, substring, split, replace, trim, comparing strings, multiline raw strings and buildString.

23 Nov 2026Read →
Type Conversion in Kotlin: toInt, toDouble, toString and MoreKotlin Tutorials

Type Conversion in Kotlin: toInt, toDouble, toString and More

Convert types in Kotlin: Int to Double, String to Int with toInt and toIntOrNull, numbers to String, Char to Int, and avoiding NumberFormatException.

23 Nov 2026Read →
Kotlin Data Types: Int, Long, Double, Char, Boolean and MoreKotlin Tutorials

Kotlin Data Types: Int, Long, Double, Char, Boolean and More

Kotlin data types with examples: Int, Long, Byte, Short, Double, Float, Char, Boolean and String, their ranges, type inference and common mistakes.

23 Nov 2026Read →
How to Set Up Kotlin: Playground, IntelliJ IDEA and Android StudioKotlin Tutorials

How to Set Up Kotlin: Playground, IntelliJ IDEA and Android Studio

Start writing Kotlin today: the online Kotlin Playground, IntelliJ IDEA, Android Studio or the kotlinc compiler. Pick the right setup for you.

23 Nov 2026Read →

← Newer articles

Want a website or app for your business?

We build what we teach. Tell us your idea on WhatsApp and get a free consultation.

Chat on WhatsApp
WhatsApp us📞 Call now