JEP 326: Raw String Literals

In a future release, we are likely to see raw string literals added to the Java platform. There are two important features of raw string literals:

  • They can span more than one line of source code
  • Escape sequences are not interpreted 

The goal of this enhancement is essentially to make it easier for developers. This change will permit developers to provide strings that take more than one line of code, without having to provide characters to indicate a new line.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset