What is the primary benefit of using interfaces to program against rather than concrete classes?
-
A
It allows use of multiple constructors
-
B
It enables coding to a contract, reducing coupling to specific implementations
-
C
It automatically provides thread safety
-
D
It eliminates the need for exception handling