dcsimg

How can I prohibit methods from being overloaded?

John Mitchell

The only relatively surefire way that I know of is to make the entire class final. I.e., since there's no way to subclass that class then nobody can overload that method.