Finality in Java
Posted by Mike Haller
on Tuesday, August 7. 2007
at 00:38
in Java
A collegue developer has some fine coding style and I'm trying to adapt it as much as possible.However, there was one thing which made me wonder: using the
final keyword in interfaces.To be more specific, in the method parameters like this:
public interface IMyInterface {
void doSomething( final Object object );
}
As I didn't know much more than the standard stuff about the implications of using
final, I began to dig a little and present my conclusion here.
