In this tutorial we will learn how the basci syntax of kotlin made up.
Let’s start our first app with the “Hello, world” message and print it to the screen.
Every Kotlin program must have the main function defined, which is the starting point of the program and it is done with the fun keyword.
The println() finction is used to generate output. We can pass message to print in double quotes to the function.