What is the `@throws` tag used for in Javadoc?
`@throws` is used to document the return type of a method.
Thatâ€™s partially correct. The `@throws` tag is used for exceptions, not return types. The return type is documented using `@return`.
Can you explain the correct way to document a methodâ€™s return type in Javadoc?