+ 2
Java keywords
why final is used in java
2 Answers
+ 9
to make variable a constant
+ 5
it is not possible to modify variable, if it is declared as final. To create constant variable final is used
prevents method overriding if methods are declared as final.
not possible to inherit a class if it is declared as final