What is the output of this snippet:
fun main() {
val name = "Bob"
val nickname: String? = null
print(name?.length + nickname.length)
}What is the output of this snippet:
fun main() {
val name = "Bob"
val nickname: String? = null
print(name?.length + nickname.length)
}Create a free account to access the full topic