What will this code print?
val names = ArrayDeque<String>()
names.addAll(listOf("John", "Jane", "Mary", "Peter", "Paul", "George"))
print(names.removeFirst())
print(", " + names.first())What will this code print?
val names = ArrayDeque<String>()
names.addAll(listOf("John", "Jane", "Mary", "Peter", "Paul", "George"))
print(names.removeFirst())
print(", " + names.first())Create a free account to access the full topic