Java Cup
Inside Java

News and views from members of the Java team at Oracle

Text Blocks - JEP Café #5

This JEP Café discusses JEP 378: Text Blocks, released with the JDK 15. Text Blocks allow you to write strings of characters spanning several lines of your source code and without having to escape most of the special characters.

Show Notes

Further reading and viewing:

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.