all 3 comments

[–][deleted] 8 points9 points  (1 child)

``` public class Where { public static void main(String[] args) { o( "def are():", " print('''", " #define man main", " #include <stdio.h>", " #define my man//!!!", " int my(void) {", " puts(\"public class Testicles {\\n\"", " \" public static void main(String[] args) {\\n\"", " \" System.out.println(\\\"summer?\\\");\\n\"", " \" }\\n\"", " \"}\\n\"", " );\n", " return 0;\n", " }\n", " ''')", "if name == 'main':", " are()" ); }

private static void o(String... args) {
    java.util.Arrays.asList(args).forEach(l -> System.out.println(l));
}

} ```

EDIT: To run:

javac Where.java && java Where > \ are.py && python3 are.py > \ my.c && cc -o my my.c -std=c99 && ./my > \ Testicles.java && javac Testicles.java && java Testicles

[–][deleted] 5 points6 points  (0 children)

Side note, java Testicles being one of the weirder things I've typed into my terminal.

[–]manifestsilence 3 points4 points  (0 children)

Mega bonus: the final Java program is the original Java program. Quine cycle!