When the final keyword is applied to a reference variable and the variable has been initialized, that reference variable cannot be reassigned to a different object instance. It is important to note that when final is applied to a reference variable it does not prevent the members of the object instance from changing values. A final reference variable can only be assigned to a reference of an object instance once and only once. The value does not need to be assigned when the reference variable is declared; this kind of a reference variable is called a blank final variable. A blank final instance reference variable must be assigned a value inside of a constructor or a compiler error will occur. A blank final local reference variable must be assigned a value before it is used. The optional common naming convention for final variables is to be in uppercase with an underscore (_) separating the words.
On this page of the site you can watch the video online Learn Java Programming - Final Reference Variables Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 07 August 2015, share the link with friends and acquaintances, this video has already been watched 1,107 times on youtube and it was liked by 15 viewers. Enjoy your viewing!