I have doubt in function overloading
Here is an example:
public class A{
public int calculate(int I, int j){}
public String calculate(String s, String s1){}
}
Class B extends A{
public float calculate(float a, float b){}
}
It is clear that in class A the method calculate() is overloaded. In same way when B is inheriting class A the calculate() methods also get inherited to class B . Can we say that calculate() of class A is overloaded in class B ??