Wie man das Array in Kotlin umkehrt
fun main() {
val arr: Array<Int?> = arrayOf(1, 2, 3, 4, 5)
arr. reverse();
println(arr. contentToString())
}
Powerful Partridge
fun main() {
val arr: Array<Int?> = arrayOf(1, 2, 3, 4, 5)
arr. reverse();
println(arr. contentToString())
}