How to pass different object with same interface into the constructor
I have different objects with the same interface.
But in the contructor we also have an interface of a different object.
I have different objects with the same interface.
But in the contructor we also have an interface of a different object.