Skip to content

Kotlin

The Kotlin programming language is a general purpose, modern programming language created in 2011 by JetBrains.

Kotlin is designed to be a developer-friendly language. Kotlin code is concise, statically-typed and safe. It can work with existing Java code and libraries, and provides many ways to reuse code between multiple platforms.

Code Snippets

This section of the notes will have lots of small snippets of example Kotlin code to help you understand and learn the language.

fun main() {
    println("Hello, World!")
}

Tip

The Kotlin code snippets, like the one above, can be run by clicking the triangle and can also be edited so you can experiment with the code.. Try running and editing the code above!