This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes [URLyBird] Javadoc comments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "[URLyBird] Javadoc comments" Watch "[URLyBird] Javadoc comments" New topic

[URLyBird] Javadoc comments

Leszek Zajac

Joined: May 18, 2006
Posts: 19

My specification says:
"... javadoc style comments must be used for each element of the public interface of each class."

So I should have javadoc comments for public methods (and variables if any).
But should I write javadocs for protected methods and variables?

Best regards

Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
I provide Javadoc comments for everything except some datamembers (mostly private ones).
The generated Javadoc I limit to public only to save a bit of space.

wood burning stoves
subject: [URLyBird] Javadoc comments