Files
2023-01-31 21:53:01 +00:00

4 lines
135 B
Java

// "Make 'Child' extend 'Parent'" "true-preview"
sealed interface Parent permits Child {}
non-sealed interface Child extends Parent {}