Meaning of annotations:
Content that has no effect on the nature of the program, is mainly used to help readers, developers. Single-line Comment://The following is the comment. 02. Single-line comments, multiline comments, documentation comments, and API documentation. __java ">
2. Multi-line Comment:
02. Single-line comments, multiline comments, documentation comments, and API documentation. __java ">
3. Documentation Comments:
02. Single-line comments, multiline comments, documentation comments, and API documentation. __java ">
Tip: Generating API document annotations is valid only before the class definition, before the method, before the field, and before the inner class.
Javadoc-d the name of the folder you want to save. java file
For example: Javadoc-p apidocs Hello.java
02. Single-line comments, multiline comments, documentation comments, and API documentation. __java ">
The generated API documentation is as follows:
02. Single-line comments, multiline comments, documentation comments, and API documentation. __java ">
Supplementary knowledge:
There are two paths in--> programming: absolute paths, relative paths.
----> Absolute path: Is fixed, cannot change. For example: E:\abc\e
----> Relative path: Is the path relative to a letter, but the path below the letter is indeterminate.