Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions snippets/Basics/kotlin/hello-world.kt
Original file line number Diff line number Diff line change
@@ -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!")
}