Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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