Created
August 4, 2019 11:32
-
-
Save rail-rate/8db651cd0fea724c795929e0f8b0993c to your computer and use it in GitHub Desktop.
List2
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 a = listOf(100, 65, 88) //Int型 | |
val b = listOf("おはよう", "こんにちは", "さようなら") //String型 | |
val c = listOf(10.0, 25.5, 100.1) //Double型 | |
val d = listOf(true, false, true) //Boolean型 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment