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