Coming from Perl, I sure am missing the \"here-document\" means of creating a multi-line string in source code:
$string = <<\"EOF\" # create a three-l
String newline = System.getProperty ("line.separator"); string1 + newline + string2 + newline + string3
But, the best alternative is to use String.format
String multilineString = String.format("%s\n%s\n%s\n",line1,line2,line3);