Question Bank
3705 approved questions from the community
What does '@JvmOverloads' annotation do in Kotlin?
Which annotations are commonly used for Java interoperability in Kotlin?
What are the requirements for a property to be marked as 'const' in Kotlin?
In which scenarios is the 'Nothing' type useful in Kotlin?
Which operators can be overloaded in Kotlin?
What are the requirements for a function to be marked as 'infix' in Kotlin?
What are the benefits of inline functions in Kotlin?
Kotlin requires explicit 'throws' declarations for checked exceptions.
'Any?' is the supertype of all types including nullable types in Kotlin.
What is the 'crossinline' modifier used for in Kotlin?
What is the 'noinline' modifier used for in Kotlin?
What is an inline function in Kotlin?
What is a property delegate in Kotlin?
What is the purpose of the 'lazy' delegate in Kotlin?
For a function to use 'tailrec', the recursive call must be the last operation in the function.
The default visibility modifier in Kotlin is 'public'.
Properties declared with 'lazy' must be declared as 'val' in Kotlin.
What is a Flow in Kotlin coroutines?
What is the purpose of 'withContext' in Kotlin coroutines?
What is a CoroutineContext in Kotlin?