Question: what is difference between final and finally keyword in java?
Answer: final, finally and finalize in Java. ... A final class cannot be instantiated, a final method cannot be overridden and a final variable cannot be reassigned. The finally keyword is used to create a block of code that follows a try block. A finally block of code always executes, whether or not an exception has occurred.