Final: Used to declare properties, methods, and classes. The modification is the basic type, which means that the value given by the variable is immutable, that is, it is a constant, and the final decorated method cannot be overridden by subclasses, but does not affect the inheritance of the subclass; The final decorated class cannot be inherited.
Finally: This statement is always executed in the try-catch-finally statement, regardless of whether there is an exception or no exception.
Finalize: This method is a method in the object class (all classes have this method) and is part of the GC (garbage Collertor) run mechanism, which is called when the GC cleans up its subordinate objects, and throws an uncaught exception if it is executed. The GC terminates cleanup of the object, and the exception is ignored, knowing that the next time the GC starts cleaning up the object, its finalize () will be called again, calling them to simply recommend that the GC start and clean up the unused objects to free up memory space, but the GC's start-up is not certain. This is determined by the Java virtual machine, knowing that the Java virtual machine is stopped.
Android initial stage of learning, final,finally,finalize is differentiated: