In java we cannot override a final method but is it possible to overload ?
Yes, overloading a final method is perfectly legitimate.
For example:
public final void doStuff(int x) { ... } public final void doStuff(double x) { ... }
1.4m articles
1.4m replys
5 comments
56.9k users