📜  从数组 kotlin 中删除元素 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:31.759000             🧑  作者: Mango

代码示例1
var arrayone: ArrayList = arrayListOf("a","b","c")

val arraytwo:ArrayList = arrayListOf(arrayone.removeAt(0))

for (item in arraytwo) {
  println(item)
}