`String?` means that the string is nullable. The ?...
# getting-started
m
String?
means that the string is nullable. The ? in
readLine()?.toInt()
is a safe call. Here, it means that
toInt()
won't be called if
readLine()
returns null. You can read about it here: https://kotlinlang.org/docs/reference/null-safety.html#safe-calls
­čĹŹ 1