javaOO-- array of references

Reference data types of array:

  1, the reference data type array syntax and data types is substantially no difference between

  2, reference type variable can class, interface, or to declare an array.

  3, is located in the variable array reference memory stack (Stack), the array elements are stored in the heap memory (heap), the access is achieved by the stack pointer to the memory location corresponding element in the heap memory.

Documentation Comments:

[Comment] is a document written in the classes, methods, member variables of the above.

Doc comments can be exported help documentation chm format with the eclipse, while others show it with, for others to understand. Document annotation method is called to remind the comment contents when the mouse moves above.

When using documentation comments, it is necessary after the start / **, the first line or lines is the main description of classes, variables and methods.

Thereafter, one or more of which may comprise all sorts of @ label. @ Each label must begin in a new line or at the beginning of a line followed by an asterisk (*). A plurality of the same type of label should be placed into a group.

Documentation generated comments to help document the steps of:

1. Click on the projec -> Generate javadoc ...

2, select the file you want to generate

 

 3, click Next, and then click Next. If the encoding is utf-8 will need to enter -encoding utf-8 -charset utf-8, click Finish

 

 

 

 4, open the index.html

 

Guess you like

Origin www.cnblogs.com/libobo22/p/11609395.html