Type 1 documentation comments (/**……*/) For information that needs to be included in this comment, see "Documentation Comments"
Class 2 declaration
3 Class implementation comments (/*&*/) if necessary. This comment should contain any information about the entire class that is not suitable as a class documentation comment.
4 Class (static) variables First are the public variables of the class, then are the protected variables, then are the package-level variables (without access modifier, access modifier), and finally are the private variables.
5
Instance variables are first at the public level, then at the protected level, then at the package level (without access modifiers), and finally at the private level.
6 Constructor
7 Methods These methods should be grouped by functionality, not scope or access rights. For example, a private class method can be placed between two public instance methods. Its purpose
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn