Static, Final and Finally keywords

Final keyword means that a program cannot change the value of a final variable. But the actual meaning depends on its current context.

Static keyword represents that a particular method or variable is associated with a class rather than any particular instance of the class.

Finally: Every statement in the finally clause always execute, even if there is an exception in try block or we return from catch block, and thus it is used for doing clean up, closing port tasks. However, you cannot have return statement in it.

Additional notes (From Geeks for Geeks):

How to make an Immutable object?