You can avoid re-typing doc comments by being aware of how the Javadoc tool duplicates (inherits) comments for methods that override or implement other methods. This occurs in three cases:

  1. When a method in a class overrides a method in a superclass

  2. When a method in an interface overrides a method in a superinterface

  3. For overridden constructors

  4. When a method in a class implements a method in an interface


Correct Option: A,B,D

Find more quizzes: