You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a base class with a initialize function.
What I'd like to do is for that initialize function to create and return a child class ( a class that inherits from the base class.)
I have a base class with a initialize function.
What I'd like to do is for that initialize function to create and return a child class ( a class that inherits from the base class.)
Unfortunately this does not work, I get the baseclass only back.
Right now I have to create a function that instantiates a class but it would be so much cleaner if that could happen from the baseclass.
Is this possible?
The text was updated successfully, but these errors were encountered: