Monday, 28 January 2008 Java 7 - Multi-line String literals One of the most common features in other programming languages is the multi-line String literal. Would it be possible to add this to Java? Update, 2011-10-31, Just wanted to note that multi-line strings are not in Java 7, nor are they likely to be in Java 8. This blog post is still useful to understand some of the difficulties that would have to be tackled if they were to be included in future. Multi-line String literals In Java today there is only one form of string literal, supplied in double quotes. Within those double quotes,
Read full article from Stephen Colebourne's blog: Java 7 - Multi-line String literals
No comments:
Post a Comment