MCQs > IT & Programming > Kotlin > Kotlin will not compile this code snippet. What is wrong? class Employee class Manager : Employee()

Kotlin MCQs

Kotlin will not compile this code snippet. What is wrong? class Employee class Manager : Employee()

Answer

Correct Answer: In order to inherit from a class, it must be marked open

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