First Program in Kotlin
Learn to create your first program in Kotlin and explore variations of the main function.
We'll cover the following...
The Hello, World
program
The first step in our Kotlin adventure is to write a minimal program in this language. Yes, it’s the famous Hello, World
program. This is what it looks like in Kotlin:
Press + to interact
fun main() {println("Hello, World")}
Line 1: We define the
main
function of the Kotlin program withfun
...