Declare an Interface and implement the interface in each of the version of classes. In the final class you declare a type for the interface, so at run time you can assign instance of any of the derived class.
It is not how much we do,
but how much love we put in the doing.
-Mother Theresa
|