MCQs > IT & Programming > Scala > Which statement is true about sealed classes.

Scala MCQs

Which statement is true about sealed classes.

Answer

Correct Answer: A sealed class may not be directly inherited, except if it is defined in the same source file.

Explanation:

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

Scala Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Scala Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it