[-] Kport@feddit.de 6 points 5 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 2 years ago