G
gwolinsky
Situation:
I have a class (employee). This class can be used alone but is also a
base class for more specific types of employees that require further
data.
The "attorney" class inherits from "employee" and adds some additional
properties.
Question:
Is there a way for the "employee" class instance to look at itself and
tell whether or not is part of a derived "attorney" instance or is a
stand-alone instance?
Any help would be greatly appreciated.
Sincerely,
Glen
I have a class (employee). This class can be used alone but is also a
base class for more specific types of employees that require further
data.
The "attorney" class inherits from "employee" and adds some additional
properties.
Question:
Is there a way for the "employee" class instance to look at itself and
tell whether or not is part of a derived "attorney" instance or is a
stand-alone instance?
Any help would be greatly appreciated.
Sincerely,
Glen
