Here is the answer.
final- declare constant
finally()- handles exception
finalize() - helps in garbage collection
final is used for making a class no-subclassable, and making a member variable as a constant which cannot be modified.
finally is usually used to release all the resources utilized inside the try block. All the resources present in
finalize method will be garbage collected whenever GC is called. The code in finally block is guaranteed of execution irrespective of occurrence of exception, while execution of finalize is not guarenteed.finalize method is called by the garbage collector on an object when the garbage collector determines that there are no more references to the object.