Mid OOP What are the similarities between interfaces and abstract classes? Both can define contracts for derived classes.Both support polymorphism.Both cannot be instantiated directly.Both can be used with dependency injection.