This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaDoc comment for abstract method implementaion

 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one abstract class with abstract method disp().And I have one implementation class for this abstract class.Can anyone guide me how to write a javadoc comment in the subclass for the abstract method implementation.
Thanks
 
Paul Beckett
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two main options are inheritDoc and see.

I tend to prefer inheritDoc for simplicity.
 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Paul for your reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic