Hello,
My problem is that I have a class, which needs to extend either one of two classes - the one it should extend depends on some value that is determined during runtime.
I understand that there isn't a concept of having an if (this condition) extend thisclass else extend thisclass
but the same effect needs to be achieved.
How can this be done?