M
mrrrk
Supposing I have a base (abstract) class called thingBase and then I create
two more abstract classes from it, e.g. thingBase1, thingBase2.
I have code that operates on thingBase objects but I need to know whether
the object is inherited from thingBase1 or thingBase2.
How do I tell which base class was used?
two more abstract classes from it, e.g. thingBase1, thingBase2.
I have code that operates on thingBase objects but I need to know whether
the object is inherited from thingBase1 or thingBase2.
How do I tell which base class was used?