Created
April 8, 2021 09:11
-
-
Save soudmaijer/8084e4256c0b55b0efb2fdad89e57599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>) { | |
val name = "Kotlin" | |
name = "John Doe" | |
println("Hello, $name!") | |
var answer = 21 | |
answer = "42" | |
println("The answer to everything: $answer!") | |
val groceries = listOf("Bread", "Butter", "Milk") | |
groceries.add("Cola") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment