Text Blocks in Java – JEP 378 – Since Java 15

Another interesting feature that was added to Java is the text blocks. It was a preview feature in Java 13 , 14 and became final and permanent in Java 15. What are text blocks ? A text block is a multi-line string literal that avoids the need for most escape sequences, automatically formats the string … Continue reading Text Blocks in Java – JEP 378 – Since Java 15