What are docstrings called in java?
-
03-10-2019 - |
Pergunta
Before Java methods we have something like:
/**
* Takes a number and returns its square root.
* @param x The value to square.
* @return The square root of the given number.
*/
public float getSqrt(float x) {
...
}
Does this have a name (like docstrings in Python)?
Outras dicas
Yup, it's called javadoc.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow