Exam4Training

Select which statement(s) is/are true with respect to programming to interfaces with Spring

Select which statement(s) is/are true with respect to programming to interfaces with Spring
A . The use of interfaces allows for reduced coupling between collaborating objects
B . Spring requires all beans to implement interfaces
C . Spring requires that parameters in constructors and setters are defined using interface types
D . Spring requires all beans to have an empty constructor (either default or declared)

Answer: A

Exit mobile version