What do you want to save?
Add Code snippet
New code examples in category Kotlin
-
Michelle Crescente 2021-11-18 08:04:22
elvis operator kotlin example
val l = b?.length ?: -1 Add solution -
Jack Lynch 2021-11-16 19:10:14
kotlin iterate list exclude last one
package com.zetcode fun main() { val words = listOf("pen", "cup", "dog", "person", "cement", "coal", "spectacles") println() for (i in 0 until words.size - 1... Add solution