Identify when to use each of the three Java comment types. Connect each comment example with its corresponding purpose.
Comments
Groups of comments
Report a typo
Match the items from left and right columns
// a comment
/* a comment */
/** a comment */
For short explanations or to deactivate a single code line
For detailed notes or disabling code sections
For official code documentation using javadoc
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.