Question OOP-ABS-0015
MediumWhich is the best reason to program to an interface rather than a concrete class?
- A.
Implementations can be swapped (e.g. for testing) without changing the code that uses them
- B.
Interfaces store more data
- C.
Sign up free to see the answer and a step-by-step explanation.