0
Answer

Dynamic type selection

Dheenadhayalan

Dheenadhayalan

15y
2.2k
1
I have two classes SRS ans Sections. Both have a method named Import(). I need to implement this method with objects of both the types. But i need to accomplish this without creating two seperate modules. May be using a generic object which will be assigned its type later.
Note: SRS and Sections are entirely different classes with no similarities other than Import method.
Any suggestions?
Thanks in advance