The main() Function
Learn about the special main function as the entry point into your program.
We'll cover the following...
Every application requires an entry point where program execution is started. In most languages, including Kotlin, this is called the main
function.
Kotlin also allows writing script files (
.kts
file ending) which don’t require an explicitmain
function, similar to Bash or Python scripts. When talking about an “application” above, such scripts are excluded. ...
Access this course and 1400+ top-rated courses and projects.