WriteCodeAnnotations are often added. Java code annotations can be divided into two types. A single line comment starts. Add "/*" at the beginning of the first line, and add "*/" at the end of the last line. This section describes a method for adding annotations. The data domains and methods for annotation can be displayed at the call in the eclipse environment. :
Step 1: Enter "/**" on the method to add instructions "/**"
Step 2: Press ENTER
Step 3: view results
Note: This method is specifically designed for Javadoc and can be supported and processed by the built-in javadoc tool of JDK. Javadoc is a technology provided by Sun.ProgramSource codeTo form an API help document that matches the source code. That is to say, as long as a specific tag is used as a comment during programming, after the program is compiled, the development documentation of the program can be formed at the same time through javadoc.
The following describes how to use javadoc to form a program development document.
PreviousArticle, Eclipse usage and Tip 3: automatically generate main Method 2:
Http://blog.csdn.net/ts1122/article/details/8769426
Next article, eclipse usage and tips 5: generate instructions 2:
Http://blog.csdn.net/ts1122/article/details/8798127