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 """); } }