Quels sont appelés docstrings en java?
-
03-10-2019 - |
Question
Avant méthodes Java, nous avons quelque chose comme:
/**
* 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) {
...
}
Est-ce que cela a un nom (comme docstrings en Python)?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow