Java Cup
Inside Java

News and views from members of the Java team at Oracle

Sealed Classes - JEP Café #2

This JEP Café discusses JEP 409, i.e. Sealed Classes, released in Java 17. Sealed classes is an additional feature emerging from Project Amber, with impacts on instanceof and cast conversions.

Additional Resources

JEP Café explores Java features and JDK Enhancement Proposals through tutorials and practical examples. Watch all episodes in the YouTube playlist. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.