In the Java programming language, the final keyword is used in several different contexts to define an entity which cannot later be changed (or reassigned).
Showing posts with label Java final classes. Show all posts
Showing posts with label Java final classes. Show all posts
Wednesday, November 21, 2012
Monday, March 28, 2011
Java Final Classes
When used in a class declaration, the final keyword means the class can't be subclassed. In other words, no other class can ever extend (inherit from) a final class, and any attempts to do so will give you a compiler error.
Subscribe to:
Posts (Atom)