Slide 28
Slide 28 text
Kotlinの書き方
//変数の宣言と初期化
Val num = 0
val str: String = "Test"
num = "332" //エラー(型が違う)
//配列
val intList = arrayOf(1, 2)
println(intList[0]) //1
val strList = arrayOf(arrayOf("a", "b"), arrayOf("c", "d"))
println(strList[0][1]) //b