In reply to dave_59:
Hi Dave,
You must call it with 3 arguments
Yes got it and agreed.
But within the ‘Derived’ class scope, we get two ‘add’ methods with different signatures. Yes, of course user has to resolve the call himself by specifying this. or super.
My query is
-
This is a case of polymorphism or not?
-
If so, is this function overloading or overriding?
I’m not sure how C++ or other OOP language handles this.
Thanks,
Prem