Skip to main content

Kotlin Basics

Everything you need to start writing Kotlin - from your first program to functions, with examples and output for every concept.

Basic Programs

Get started with Kotlin: your first program, variables, and comments.

4 tutorials

Kotlin Data Types

Explore Int, Float, Double, Char, Boolean, String and more, with type conversion.

11 tutorials

Kotlin Operators

Arithmetic, relational, logical, assignment and Kotlin's special operators.

15 tutorials

Conditional Statements

Control program flow with if, when, break, continue and return.

4 tutorials

Kotlin Input and Output

Read input and print output in Kotlin, including the Scanner class.

5 tutorials

Looping & Controls

Repeat work with for, while, do-while and the repeat function.

6 tutorials

Kotlin Functions

Define functions with default, named and vararg parameters, single-expression, local, tailrec and infix functions.

10 tutorials
Search tutorials