Quoting constructs: Difference between revisions
Content added Content deleted
(New post.) |
m (Corrected a grammatical mistake in a comment.) |
||
Line 429: | Line 429: | ||
This is an example of multi-line string. |
This is an example of multi-line string. |
||
Text formatting is preserved. |
Text formatting is preserved. |
||
Text blocks can be used for multi-line string. |
Text blocks can be used for a multi-line string. |
||
"""; |
"""; |
||
System.out.println(multiLineString); |
System.out.println(multiLineString); |