This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Javadoc abstracts and children Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Javadoc abstracts and children" Watch "Javadoc abstracts and children" New topic
Author

Javadoc abstracts and children

Elouise Kivineva
Ranch Hand

Joined: Feb 07, 2002
Posts: 154
If I fully documented a method in an abstract class, do I have to repeat the same method javadoc in the child class?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Only if there are special circumstances in the implementation of the subclass. For example if for there are different constraints on the parameters that might cause a ClassCastException to be thrown that coundn't happen in the super class.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Javadoc abstracts and children
 
Similar Threads
How to remove spaces
[help] drive access and info using java program
generate javadoc dynamicly
Round to n decimals?
javadoc enum