Hi,
I am little confused about below code snippet..whether it is a case of overloading or overriding.
As per my understanding, it is not a case of overriding as method signature is different in both the classes.
And for overloading both the methods should be present in same class.
But in this case, class B will have both the methods - one inherited and one of its own.
So my question is can we consider it as case of overloading?