JEP 397: Sealed Classes (Second Preview)
GPTKB entity
Statements (23)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:EP
|
| gptkbp:announced |
2020-12-10
|
| gptkbp:author |
gptkb:Brian_Goetz
|
| gptkbp:category |
Language Feature
|
| gptkbp:component |
core-libs
|
| gptkbp:feature |
sealed classes
permits clause sealed interfaces sealed, non-sealed, and final modifiers |
| gptkbp:JEP_number |
397
|
| gptkbp:motive |
Provide a more declarative way than access modifiers to restrict the use of a superclass.
|
| gptkbp:plotSummary |
Enhance the Java programming language with sealed classes and interfaces, restricting which other classes or interfaces may extend or implement them.
|
| gptkbp:predecessor |
JEP 360
|
| gptkbp:releaseYear |
gptkb:Java_16
|
| gptkbp:replacedBy |
JEP 409
|
| gptkbp:scope |
SE
|
| gptkbp:seeAlso |
JEP 409: Sealed Classes
|
| gptkbp:status |
Targeted
|
| gptkbp:title |
Sealed Classes (Second Preview)
|
| gptkbp:type |
gptkb:software
|
| gptkbp:bfsParent |
gptkb:Java_SE_16
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
JEP 397: Sealed Classes (Second Preview)
|