Skip to content

Glossary: Kotlin Basics

main function

Also written: main, fun main()

The function called `main`, where every program starts running. In IntelliJ you run it with the green arrow beside `fun main()`.

Where the book teaches it

Related terms

functionrunBlocking