user2228462 user2228462 - 3 months ago 11x
Java Question

How Exactly Does @param Work - Java

How does the annotation


If I had something like this:

*@param testNumber;

int testNumber = 5;
if (testNumber < 6) {

How would the
affect the testNumber? Does it even affect the testNumber?

Thanks. Let me know if I used it wrong.


@param won't affect the number. I believe it's just for making javadocs.

More on javadoc: