in reply to Re: Can we call a Child Class Member functions using Parent Class Object
in thread Can we call a Child Class Member functions using Parent Class Object
You need to add your object as the first parameter if the function is a method, because methods expect this.
It's not a method if you call it that way.
|
|---|