4 ms·
The latter is not valid Java, as the """ must not be followed by string contents. And var text = """ hello world"""; will not h
by ygra 6y ago
The latter is not valid Java, as the """ must not be followed by string contents. And
var text = """
hello
world""";
will not have any indentation, as the common indentation is stripped from all lines.