THE Java™ Programming Language, Fourth Edition

(Jeff_L) #1

Exercise 19.1: Add doc comments to your LinkedList class from Exercise 2.16. Generate the javadoc and
ask someone else to write a simple program using your class. Repeat, improving your doc comments if
needed, until someone can do so.


Exercise 19.2: Expand on Exercise 19.1 by including the private members. Generate the full (private members
included) javadoc and ask someone else to explain the class to you. Repeat, improving your comments if
needed, until someone can do so.


19.5. External Conventions


Not all documentation needed for a package can be ascribed to a specific source file, nor are source files the
only types of files that need to be referred to in documentation. You can incorporate such external elements in

Free download pdf