MCQs > IT & Programming > Kotlin > When you can omit constructor keyword from the primary constructor?

Kotlin MCQs

When you can omit constructor keyword from the primary constructor?

Answer

Correct Answer: It can be omitted when the primary constructor does not have any modifiers or annotations.

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