 <p>The Java final keyword is used in the Java programming language under different conditions and has different implications. For example:</p> <ol> <li>To declare a constant variable,</li> <li><p>To declare a constant method parameter.</p> <ol> <li><p>A variable declared as final must have an initialization prior to its usage. This variable cannot be assigned a new value such as (a = b). But if the variable is not of primitive type then its properties can be set using the set methods or any other public fields. This means that the object instance reference cannot be changed but the properties of the object instance can be changed as long as they themselves are not declared final.</p></li> <li><p>To prohibit the parameter being modified in the method where it is being used.</p></li> </ol></li> </ol>