java final
1. Final methods cannot be overridden by subclasses. If they are written, an error will be reported (indicating that the method has been completed, and subclasses are not required to be extended)
2. Final variables are to be initialized and defined, once determined
3. Final variables can be inherited 4. Final classes can not
be inherited by subclasses
java final
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327017123&siteId=291194637
Recommended
Ranking