Where must you code the Javadoc comment for a method?

Where must you code the Javadoc comment for a method?


a. Immediately before the method
b. After any statements in the method
c. Before any statements in the method
d. Anywhere within the method


Answer: a. Immediately before the method


Learn More :