LearnFrenzy
Sign in Take a free test

Records, Enums and Sealed Classes · Records, Enums and Sealed Classes MCQ · Question 17

What non-sealed does Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 17 Back to Exercise

What does marking a permitted subclass non-sealed do?

  • A Seals it further
  • B Re-opens that branch: any class may extend it Correct
  • C Makes it abstract
  • D Removes it from the hierarchy
Correct Answer: Option B

The sealed parent still knows its direct subtypes.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links