10 Mar 1996

Final

If a field variable is declared final, it must be assigned a value in its declaration statement and thereafter remains constant. The compiler doesn't allow a final variable to be assigned a new value.

If a method is declared final, then it cannot be overridden in any class derived by extending this class.

If a class is declared final, then it cannot be extended to create new classes.

Continue Back PCLT

Copyright 1996 PC Lube and Tune -- Java H. Gilbert

This document generated by SpHyDir, another fine product of PC Lube and Tune.