[-] Kport@feddit.de 6 points 4 months ago

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

Kport

joined 1 year ago