Java Cup
Inside Java

News and views from members of the Java team at Oracle

Java 17 to 20 Pattern Matching full tutorial with Records, Instanceof and Switch - JEP Café #14

How Pattern Matching is slowly changing the way you can write Java programs. This JEP Café tutorial covers Pattern Matching for Instanceof, Pattern Matching for Switch, Type Patterns, and Record Patterns.

Show Notes

Further reading and viewing:

JDK Enhancement Proposals:

JDK releases:

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.