News

Java SE 13 (Sept 2019) introduced text blocks as a preview feature, aimed at reducing the pain of declaring and using multi-line string literals in Java. It was subsequently refined in a second ...
This Java preview feature is known as the JDK 13 text block. If you want to play around with a Java preview feature, you'll first need a Java Development Kit. Here's how to install JDK 13 on Ubuntu ...
But in Java 17, you can now use text blocks, which make the use of text in a Java program much more natural. Compare a traditional block of text embedded within a Java program to the new, Java 17 text ...