RE: What is meant by final class, methods and variabl...
Final as name suggest its the final value i.e its final nothing to be done over itIf say for variable-then we cant change its value.If for method-then we cant override or overlod it.Similar to it is-Finalize method-which is used as a must block to be invoked before program termination.Either their is any error or prg. terminates abnormally if finalize method is their then be sure that without doing work of finalize the prg. cant terminate.So finalize method is used to free the resources so that whatever happen to the prg. execution resouces mst be freed before termination.