Skip to content

Instantly share code, notes, and snippets.

@rail-rate
Created August 12, 2019 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail-rate/45b6502f8bf13d311932d75a0309fe2b to your computer and use it in GitHub Desktop.
Save rail-rate/45b6502f8bf13d311932d75a0309fe2b to your computer and use it in GitHub Desktop.
Map1
fun main(args: Array<String>) {
val a : Map<String, String> = mapOf("長男" to "太郎", "長女" to "花子", "次男" to "二郎")
println("${a["長男"]},${a["長女"]},${a["次男"]}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment