Content deleted Content added
No edit summary |
mNo edit summary |
||
Line 7:
public final class MyFinalClass {...}
A '''final [[Method (computer science)|method]]''' cannot be [[Method overriding (programming)|overridden]] by subclasses. This is done for reasons of efficiency, since the method can then be placed [[Inline function|inline]] wherever it is called directly.
Example:
|