Kotlin Interview Questions for Android developers Part 8 of. N
After doing some research I found some questions which can help all of us in our next interview.
This blog will contain mostly kotlin specific questions.
- Why Kotlin?(Concise, Null Safety, Interoperable, SmartCast, etc…)
- Val &var and const?
- String interpolation?
- init block?
- What is an open keyword where it is used?
- What is the extension function in kotlin?
- What is infix functions?
- What is the data class?
- Sealed classes in kotlin?
- What is the object keyword in kotlin?
- Companion object in kotlin?
- Higher-order functions?
- function as an expression or conditional statements as an expression?
- What are scoping functions like with and apply, let, also?
- Null safety operators?
- lateinit keyword?
- Flat map and Map in kotlin?
- Access Modifiers in kotlin?
- What is Any?
- What is reified?