ttt*_*ppp 15 java documentation-generation nomenclature
在Java方法之前,我们有类似的东西:
/**
* 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) {
...
}
Run Code Online (Sandbox Code Playgroud)
这是否有名称(如Python中的docstrings)?