初始化

  1. val tuple: (Int, String) = (1, "33")

解构元组数据

  1. val (id, name) = (1, "22")
  2. print(id)
  3. print(name)