Java Tests
Preparation for Java tests, interviews and exams
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.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment