How to be Specific enough in writing javadoc
问题 I have question related to writing standard javadoc comments. They ask us to be as specific as possible and use predicates to describe the code, but if I have a variable "d" written in my comment, but not indicated in my code, would that pose a problem? Once again, I ask this question because I get confused and my teacher is strict on commenting code. /** * Find the great common divisor between a 2 number. * * @param a number1 * @param b number2 * @return (\max d; ; a % d == 0 && b % d == 0)