All quizzes
Free quiz · 20 questions in the bank

Javadoc quiz

Test your Javadoc knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does the `{@value}` inline Javadoc tag do when applied to a `static final` constant field?

In this round
  1. What does the `{@value}` inline Javadoc tag do when applied to a `static final` constant field?
  2. How does Javadoc handle the first sentence of a class or method's description differently from the rest?
  3. What does the `{@code}` inline Javadoc tag do, as opposed to plain text?
  4. What does the `@param` Javadoc tag document?
  5. What is a Javadoc "doclet," conceptually?
  6. What does the `{@inheritDoc}` inline tag do when used in a Javadoc comment on an overriding method or implementing interface method?
  7. What is the significance of a package-level `package-info.java` file in relation to Javadoc?
  8. What does the `@author` Javadoc tag document, and what is a common team consideration around its use?
  9. What does the `{@link}` inline Javadoc tag do?
  10. What does the `@throws` (or its alias `@exception`) Javadoc tag document?
  11. What is the relationship between Javadoc (Java) and similar documentation-comment conventions in other languages, like JSDoc (JavaScript) or docstrings (Python)?
  12. What is the purpose of the `@return` Javadoc tag?
Gaps to close?
Read the curated Javadoc notes — core concepts, patterns, interview prep.
Javadoc notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web