I had a function in Java with method signature
public void myMethod (int someInt, String someString)
in my abstract class and I had over-
They are absolutely not overridden but overload since the parameters are different. And JVM will choose the method to launch base on this: widen - boxing - var args...
For example, you have three methods
void add(long n) {} // call this method 1
void add(int... n) {} // call this method 2
void add(Integer n) {} // call this method 3
and when you invoke:
int a = 5;
add(a);
the method 1 will be invoked.