| Author |
Abstract class VS final class?
|
abalfazl hossein
Ranch Hand
Joined: Sep 06, 2007
Posts: 602
|
|
|
What is the usage of final class?
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9950
|
|
|
A final class cannot be extended. It lets you maintain control of your class, preventing someone from making a subclass that doesn't do what you want. The String class is a common example of a final class.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
 |
|
|
subject: Abstract class VS final class?
|
|
|