A text block is a new kind of literal in the Java language introduced in java JDK 13 as a preview feature. It may be used to denote a string anywhere that a string literal could appear, but offers greater expressiveness and less accidental complexity. A text block consists of zero or more content characters, enclosed by opening and closing delimiters
We can write more controlled string text. It will improve great readability and gives better control over the text we write.
Text blocks improves the developer performance and decrease the errors in writing JSON strings, SQL Queries, Email Templates, HTML or XML Templates.
#JavaBeam #Java13Features #TextBlocksInJava
Смотрите видео Java 13 Features | Text blocks in Java JDK 13 | Java Beam онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Java Beam 28 Сентябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 210 раз и оно понравилось 1 людям.