1. Using Objects and Methods

Documentation With Comments — Quiz

Test your understanding of documentation with comments with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

What is the main purpose of a documentation comment in Java?

Question 2

Which symbol starts a Java documentation comment?

Question 3

Which item is most appropriate to include in a method documentation comment?

Question 4

What is the main difference between a documentation comment and a regular inline comment?

Question 5

What does the tool javadoc do with documentation comments?