Question Bank
1899 approved questions from the community
What is a Flow in Kotlin coroutines?
Properties declared with 'lazy' must be declared as 'val' in Kotlin.
For a function to use 'tailrec', the recursive call must be the last operation in the function.
What is the purpose of the 'lazy' delegate in Kotlin?
What is the 'noinline' modifier used for in Kotlin?
'Any?' is the supertype of all types including nullable types in Kotlin.
Kotlin requires explicit 'throws' declarations for checked exceptions.
What is the purpose of the 'const' modifier in Kotlin?
What is the purpose of '@JvmStatic' annotation in Kotlin?
What does '@JvmOverloads' annotation do in Kotlin?
What are the requirements for a property to be marked as 'const' 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?
Which are built-in property delegates in Kotlin?
What are the requirements for using 'lateinit' in Kotlin?
Which of the following are coroutine builders in Kotlin?
Which of the following are valid ways to create a map in Kotlin?
Which operations are available on mutable collections but not on read-only collections in Kotlin?
Which operators are part of Kotlin's null safety features?