on a class, it prevents sub classing
on a field, it prevents instantiation without initializing the field
on a local variable, it declares it to be constant
class clsfinal
{
public static void main(String[] arrValues)
{
final int PI = 3.14;
}
}
so here you can't modify the value of the variable PI.