Quiz: Improving the Documentation
lesson3/friends5 contains a current copy of the class that you can use to practice documentation
What is wrong with this documentation comment?
- The first sentence shouldn't have a period.
- The first sentence should describe the method.
- There is no
@paramstatement. - The
@returnstatement should describe the method.
Sara asks what the comment should be, but we can't automate checking that. Just write it on a cocktail napkin and watch the answer video.