Unverified50% confidenceFactExact time
Sealed classes explicitly declare the permitted subtypes via the permits clause, turning inheritance relationships from open to controlled.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedRecords provide a concise way to declare immutable data carriers, while Sealed Classes enhance type safety by restricting inheritance relationships.73% similarUnverifiedThe compiler obtains the complete set of direct subtypes from the sealed class's permits list and recursively analyzes them in conjunction with the subtypes' sealedness; non-sealed subclasses of a sealed interface are treated as open types and require a default branch.72% similarUnverifiedInheritance expresses an is-a relationship, an enum expresses 'has a plan-type enum value', and a Type Object expresses a has-a relationship62% similarUnverifiedStyles may be inherited through a w:basedOn chain, and if a parent style is missing, parsing the whole chain breaks.61% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1062176API
curl https://kongchang.com/api/v1/knowledge/claims/1062176MCP
get_claim(id=1062176)