From 3aada35d9a938e1af78328c8ee170ac71846fb10 Mon Sep 17 00:00:00 2001 From: Henning Post Date: Wed, 31 Oct 2018 11:39:25 -0700 Subject: Mention parameterless main function --- kotlin.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kotlin.html.markdown b/kotlin.html.markdown index 81242bac..9bc8b420 100644 --- a/kotlin.html.markdown +++ b/kotlin.html.markdown @@ -20,7 +20,9 @@ package com.learnxinyminutes.kotlin /* The entry point to a Kotlin program is a function named "main". -The function is passed an array containing any command line arguments. +The function is passed an array containing any command-line arguments. +Since Kotlin 1.3 the "main" function can also be defined without +any parameters. */ fun main(args: Array) { /* -- cgit v1.2.3