Vidyalelo
Computer Science · Q52

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 52

Q52

Which of the following is true about Kotlin's null safety?

A.
Kotlin does not allow null values
B.
Kotlin uses the ! operator to denote nullability
C.
Kotlin uses the ? operator to denote nullability
Answer
D.
Kotlin uses the ?? operator to denote nullability

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board