Description: Static variables: static modification, static variables are shared by all objects only. Can directly use the class name and variable name call. Static methods: the method can not use a non-static variable or object, unless the variable or object is affirmed in the method or definition. Can directly use the name of the class method name () This method is called. Can not be overridden by subclasses (coverage). Static code block: static {your code} code block can not use non-static variable or object, unless the variable or object is in the method declaration or defined. The code block in the implementation of the class loading time, no longer perform a second.
To Search:
File list (Check if you may need any files):
static founction\Test1.java
................\Test2.java
................\Test3.java
................\Test4.java
static founction