I have a parent class A, and its child B. Both are having doSomething method with diff type of parameters.
doSomething
Class A
package Inheritance;
I guess this is not considered a case of method overriding because the signatures are not exactly the same. Change the String argument to Object in B.