How java determines which method to use is determined by
The answer is no. Why?
Think about it. Consider ambiguity.public Object methodName (Object variable1, int variable2) {}
public SomeOtherClassName methodName (Object variable1, int variable2) {}
this.methodName(myInstance, 5);
this.methodName(myInstance, 5);
It cannot guess ahead to what you expect to return.
Read Chapter 14 Section 3