Final: Meaning immutable,
Common terms Modify variables, method entry, methods, and classes
1. Modify the variable, indicating that the variable can only be assigned directly or at the time of construction, not accept the second assignment, that is, the reference to the memory address is not allowed to change again;
2. Modification method Entry: Indicates that the entry parameter does not allow the value to be changed during the lifetime, but can change the value of the point to the object;
3. Modification method: Indicates that the method is not allowed to be overridden, the private adornment method of the parent class implicitly adds the final keyword to the default;
4. Modifier class: Indicates that the class cannot be inherited
It is worth mentioning that the final static is used together, indicating that the member occupies a storage space in memory that cannot be changed.
Java Final keyword