Skip to content

Commit 0d1bb90

Browse files
committed
remove Ch4 trinket (writing documentation)
1 parent d9e8ec0 commit 0d1bb90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

thinkjava.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3311,7 +3311,7 @@ \section{Writing documentation}
33113311

33123312
Here's a class definition with two Javadoc comments, one for the class and one for the \java{main} method:
33133313

3314-
\begin{trinket}{Goodbye.java}
3314+
\begin{code}
33153315
/**
33163316
* Example program that demonstrates print vs println.
33173317
*/
@@ -3325,7 +3325,7 @@ \section{Writing documentation}
33253325
System.out.println("cruel world");
33263326
}
33273327
}
3328-
\end{trinket}
3328+
\end{code}
33293329

33303330
The class comment explains the purpose of the class.
33313331
The method comment explains what the method does.

0 commit comments

Comments
 (0)