#12.2 Kotlin LATEINIT Keyword

Course: Kotlin Programming for Beginners - II

Android Android SDK Beginners Code Computer Skills Mobile Development

Using lateinit with variables allow you to avoid Null values and thus Null Pointer Exception. Explore how to use lateinit in Kotlin and how UninitializedPropertyAccessException is related to it.