The right result of the function

Report a typo

What is the result of this code?

val names = listOf("John", "Jane", "Mary", "Peter", "Paul", "George")
println(names.windowed(2, 2, true){ it[0].uppercase() })
Select one option from the list
___

Create a free account to access the full topic