The right result of the code

Report a typo

What will this code print?

val names = ArrayDeque<String>()
names.addAll(listOf("John", "Jane", "Mary", "Peter", "Paul", "George"))
print(names.removeFirst())
print(", " + names.first())
Select one option from the list
___

Create a free account to access the full topic