Objective
In the usual logical code, we rarely use the final keyword, but in reading some of the source when the final keyword is still very commonly used, the main use of the following several, this article is for personal learning and use, not necessarily correct, but also please see the Bo friends to give the relevant exchange of views Final Cosmetic class
Indicates that the class cannot be inherited, but all member methods in the final class are implicitly specified as the final method. Final Modification Method
The final modified method means that it is locked to prevent the inheriting class from modifying its associated implementation. final modifier variable
The final-modified constants cannot be changed, and the final-decorated variables can not be assigned again, but the object's properties can be changed, just as objects cannot be represented by the = number.
Final String b = "Hello";
B= "AAA"; Not allowed
Internal in-depth blog (to understand ...)
Http://www.cnblogs.com/dolphin0520/p/3736238.html