user2228462 user2228462 - 1 year ago 163
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.

Answer Source

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

More on javadoc:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download