Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 495 Bytes

File metadata and controls

8 lines (6 loc) · 495 Bytes

Kotlin Interview Questions And Answers

  • lateinit vs lazy?
    A) lateinit can be used for var properties where Kotlin promises the compiler that the variable will be initialized later failure of which will lead to exception. lazy can only be used for val properties. It will be initialized during the first call where the value will be stored in a cache so that another call to the same variable will serve the value stored in cache.

  • What is a Coroutine?
    A)