Kport

joined 1 year ago
[–] Kport@feddit.de 6 points 5 months ago (1 children)

final prevents a class from being extended completely, while a sealed class is only extensible by a select few subclasses, which are explicitly defined in a permits clause in the sealed superclass