-
-
Save Flature/96fe93fd708c7d61333a5091a51367aa 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 map = hashMapOf("1" to "ThinkGround", 2 to "Flature", 3 to "thinkground.flature@gmail.com") | |
// 값(value) 추가 | |
map[4] = "thinkground.org" | |
println(map) | |
map.remove(2) | |
println(map) | |
map["2"] = "Flature" | |
println(map) | |
map.replace("2", "Thinkg.Flature") | |
map.replace(2, "플래쳐") | |
println(map) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment