Skip to content
RED SAG Skills
easyStudy question · answer published in Android interview questions, so no pointsandroidkotlinnull-safety

What !! does on null

What happens when this line runs and token is null?

val token: String? = prefs.getString("token", null)
val length = token!!.length
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions