We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9e8ec0 commit 0d1bb90Copy full SHA for 0d1bb90
1 file changed
thinkjava.tex
@@ -3311,7 +3311,7 @@ \section{Writing documentation}
3311
3312
Here's a class definition with two Javadoc comments, one for the class and one for the \java{main} method:
3313
3314
-\begin{trinket}{Goodbye.java}
+\begin{code}
3315
/**
3316
* Example program that demonstrates print vs println.
3317
*/
@@ -3325,7 +3325,7 @@ \section{Writing documentation}
3325
System.out.println("cruel world");
3326
}
3327
3328
-\end{trinket}
+\end{code}
3329
3330
The class comment explains the purpose of the class.
3331
The method comment explains what the method does.
0 commit comments