What will be output in a standard terminal?
val numbers = listOf(2, 5, 25, 1089, 4)
val value = with(numbers) {
var numbers = this
this.drop(5)
numbers.lastOrNull()
}
println(value)What will be output in a standard terminal?
val numbers = listOf(2, 5, 25, 1089, 4)
val value = with(numbers) {
var numbers = this
this.drop(5)
numbers.lastOrNull()
}
println(value)Create a free account to access the full topic