Home > front end >  Kotlin: Unresolved reference while simulating NPE
Kotlin: Unresolved reference while simulating NPE

Time:02-19

I am new to Kotlin and I am trying some practice programs.
When I am trying to simulate NPE using !! operator but my program throws below error:

Kotlin: Unresolved reference: length

I took the program reference from enter image description here

  • Related