What is the output of this snippet:
fun main() {
val name: String? = null
val age: Int? = name?.length
val result: Int? = age?.plus(3)
print(result)
}What is the output of this snippet:
fun main() {
val name: String? = null
val age: Int? = name?.length
val result: Int? = age?.plus(3)
print(result)
}Create a free account to access the full topic