It's just programming to the interface and not the implementation, which often has advantages and very rarely has any downsides.
It's just programming to the interface and not the implementation, which often has advantages and very rarely has any downsides.