Instance variable as final in Java
As we all know, when the value of a variable varies from object to object, then that type of variable is known as an instance variable. The instance variable is declared inside a class but not within any method, constructor, or block. If we don't initialize an instance variable, then the JVM automat