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
Your Skill Level: Poor
Retake Quizzes to improve it
More Kotlin MCQ Questions
How many different kinds of constructors are available for kotlin classes?
What is the default visibility modifier in Kotlin?
What is the entry point for a Kotlin application?
Inside an extension function, what is the name of the variable that corresponds to the receiver object
Kotlin interfaces and abstract classes are very similar. What is one thing abstract class can do that interfaces cannot?