Question Bank

3705 approved questions from the community

What operator is used to access elements in a Kotlin map?

EASY
SINGLE CHOICE
20s
Kotlin
by Mohamed

What is the purpose of the 'to' function in Kotlin?

MEDIUM
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is destructuring declaration in Kotlin?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What are coroutines in Kotlin?

EASY
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is the difference between 'object' and 'class' in Kotlin?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What is an anonymous object in Kotlin?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What keyword is used for type checking in Kotlin?

EASY
SINGLE CHOICE
20s
Kotlin
by Mohamed

What is the negated form of the 'is' operator in Kotlin?

MEDIUM
SINGLE CHOICE
25s
Kotlin
by Mohamed

What is reified type parameter in Kotlin?

HARD
SINGLE CHOICE
40s
Kotlin
by Mohamed

What is variance in Kotlin generics?

MEDIUM
SINGLE CHOICE
40s
Kotlin
by Mohamed

What does the 'out' modifier mean in Kotlin generics?

HARD
SINGLE CHOICE
40s
Kotlin
by Mohamed

What does the 'in' modifier mean in Kotlin generics?

HARD
SINGLE CHOICE
40s
Kotlin
by Mohamed

What is the purpose of the 'lateinit' modifier in Kotlin?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What does the 'internal' visibility modifier mean in Kotlin?

MEDIUM
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is the difference between 'protected' visibility in Kotlin and Java?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What is an infix function in Kotlin?

EASY
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is an operator function in Kotlin?

EASY
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is the 'tailrec' modifier in Kotlin?

MEDIUM
SINGLE CHOICE
35s
Kotlin
by Mohamed

What is type alias in Kotlin?

HARD
SINGLE CHOICE
35s
Kotlin
by Mohamed

What keyword is used to create a type alias in Kotlin?

EASY
SINGLE CHOICE
20s
Kotlin
by Mohamed
PreviousPage 127 of 186Next