The final modifier keyword makes that the programmer cannot change the value anymore. The actual meaning depends on whether it is applied to a class, a variable, or a method.
• final Classes- A final class cannot have subclasses.
• final Variables- A final variable cannot be changed once it is initialized.
• final Methods- A final method cannot be overridden by subclasses.