Execute HQ9+/Java: Difference between revisions

m
Fixed syntax highlighting.
m (Categorization now in master page)
m (Fixed syntax highlighting.)
 
(One intermediate revision by one other user not shown)
Line 3:
 
Note: A [[Unicode]] trick could be done to make this source code a quine (similar to the one done in [[RCHQ9+/Tcl]], but also replacing the literal 99's with "100 - 1").
<langsyntaxhighlight lang="java">import java.io.BufferedReader;
import java.io.FileReader;
import java.io.InputStreamReader;
Line 47:
"1#One bottle|2#{0} bottles} of beer", n);
}
}</langsyntaxhighlight>
9,476

edits