diff --git a/snippets/Basics/kotlin/hello-world.kt b/snippets/Basics/kotlin/hello-world.kt index 9a15149..33cdf99 100644 --- a/snippets/Basics/kotlin/hello-world.kt +++ b/snippets/Basics/kotlin/hello-world.kt @@ -1,6 +1,7 @@ -# Title: Print Hello World -# Topic: Basics -# Language: kotlin -# Example: see bottom - -// Print Hello World - placeholder in kotlin +fun main() { + // The 'main' function is the required entry point for any Kotlin application. + + // 'println' is the standard Kotlin function used to print the given string + // to the console, automatically adding a newline character afterward. + println("Hello, World!") +}