File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes javadoc quesion - private methods/classes ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "javadoc quesion - private methods/classes ?" Watch "javadoc quesion - private methods/classes ?" New topic

javadoc quesion - private methods/classes ?

Suchak Jani
Ranch Hand

Joined: Jan 24, 2002
Posts: 70
Maybe, those who passed can answer this.
Does the javadoc have to document the private methods and classes.
The only reason i ask is that i have lot of useful/important code there.
Suchak Jani
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
I did javadoc all methods without exception, but generated the javadoc only for public and protected methods. Especially the server javadoc would primarily be a resource for other developers writing database clients; from their point of view, private methods would just clutter up their documentation.
Take a closer look at the JDK javadoc.
- Peter
Suchak Jani
Ranch Hand

Joined: Jan 24, 2002
Posts: 70
Thanks peter
I agree. Here's the link:
subject: javadoc quesion - private methods/classes ?
jQuery in Action, 3rd edition