Beginner Kotlin
Q3 / 100

What is the Kotlin keyword for declaring a nullable type?

Correct! Well done.

Incorrect.

The correct answer is B) ?

B

Correct Answer

?

Explanation

Appending ? to a type (e.g., String?) marks it as nullable, allowing null values. Without ?, Kotlin types are non-nullable by default.

Progress
3/100