aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features195/textblock/Code.java
blob: 5dc4308721513944f57d2b56c157f0ae51b39a83 (plain)
1
2
3
4
5
6
7
8
9
public class Code {
  public static void main(String[] argv) {
    // Caveat: Putting the closing '"""' on a separate line adds a line break and 'println' (not 'print'!) adds another.
    System.out.println("""
		       this is a text
                       block
                       """);
  }
}