Do modifiers have anything to do with whether one method is considered to overload another?
For example, would the following 3 methods all be considered overloaded methods if they were all in the same class?
public int someMethod(int a,
String b) {}
private int someMethod(String a, boolean b, int c) {}
protected int someMethod(Object x) {}
Is this an example of overloading or do the methods have to have the same modifier?
Thanks in advance.