How is final different from finally and finalize ()?
Final is a modifier which can be applied to a class or a method or a variable. final class can't be inherited, final method can't be overridden and final variable can't be altered.
Finally is an exception handling code section which gets implemented whether an exception is raised or not by the try block code segment.
Finalize() is a method of Object class which will be implemented by the JVM just before garbage collecting object to give a final chance for resource releasing activity.