/* コレクション型 配列、辞書など */ // var shoppingList: String[] = ["Eggs", "Milk"] // error: array types are now written with the brackets around the element type var shoppingList: [String] = ["Eggs", "Milk"] var airports: Dictionary<String, String> = ["TYO": "Tokyo", "DUB": "Dublin"]