title: Why should a variable be declared as static and final
body: <p>A variable is declared as <code>static</code> to get the latest and single copy of its value; it means the value is going to be changed somewhere. But why should the same variable be declared as <code>final</code>, which will not allow the variable to be changed else where (constant value)?</p>