MCQs > IT & Programming > Kotlin > What is the correct way to initialize a nullable variable?

Kotlin MCQs

What is the correct way to initialize a nullable variable?

Answer

Correct Answer: Val name: String? = null

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Kotlin Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Kotlin Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it