final variables cannot be reinitialized once assigned a value.
final reference variables cannot refer to a different object once the object has been assigned.
final reference variables must be initialized before the constructor completes.
final is the only modifier available to local variables.
final methods cannot be overridden in a subclass.
publicclass MainClass{
finalint i = 0;
i= 1; // error
publicstaticvoid main(String[] argv){
}
}