In Java we use final keyword with variables to specify its values are not to be changed.
But I see that you can change the value in the constructor / methods of
Final keyword has a numerous way to use:
Other usage:
A static class variable will exist from the start of the JVM, and should be initialized in the class. The error message won't appear if you do this.