Created
May 18, 2017 06:59
-
-
Save goindwalia/1b5c476ee487e88f2eba3322d6b23b3a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* Kotlin Code*/ | |
/* Simple Hello Word Example*/ | |
//optional package header | |
package hello | |
//package level function, which return Unit and takes an array of string as parameter | |
fun main(args: Array < String > ) { | |
val scope = “world” | |
println(“Hello, $scope!”) //semicolons are optional, have you noticed that? :) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment