// HasOrderQ.kt(順序付きですか?) fun main() { println("Listを作って、内容を、出力する") val listSample = listOf("monkey", "cat", "dog", "fox") println(listSample) println("Setを作って、内容を、出力する") // 同じ順序、同じ内容で、コーディングします. val setSample = setOf("monkey", "cat", "dog", "fox") println(setSample) } /* Listを作って、内容を、出力する [monkey, cat, dog, fox] Setを作って、内容を、出力する [monkey, cat, dog, fox] */