Created
June 5, 2018 15:21
-
-
Save MozyOk/cd7ba25efc94cd5e8c7cf23411bf4f4c 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>) { | |
println("Hello World") | |
var age: int = 10 | |
var msg: String = "Hello" | |
var isAlive: Boolean = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment