Static code block
1.static can be used to modify the initialization code block.
2. Initialize code block (dynamic code block)
3. Location: {} defined within the class and outside the method.
4. Function: When creating an object, complete the initialization of the attributes in the order defined by and attributes.
5. static code block: The initialized code block modified by static is called static code block.
6. Location: {} defined within the class and outside the method, and also modified by static.
7. Function: When the class is loaded, the initialization of static attributes is completed in the order defined by and static attributes.